Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 192.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 290.9 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9015/0.9015, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 96.11 kB / 0.5948 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1607, allocations: 86.98 MB / 0.6797 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002279/0.163, allocations: 1.333 MB / 0.681 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.455/0.6181, allocations: 130.1 MB / 0.808 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.6182, allocations: 5.094 kB / 0.808 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.6183, allocations: 0 / 0.808 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.6183, allocations: 7.344 kB / 0.8081 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.6187, allocations: 51.66 kB / 0.8081 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.515e-05/0.6188, allocations: 28.12 kB / 0.8081 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.6189, allocations: 0 / 0.8081 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.074e-05/0.6189, allocations: 7.703 kB / 0.8081 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.619, allocations: 7.578 kB / 0.8081 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.619, allocations: 0 / 0.8081 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.347e-05/0.6191, allocations: 14.69 kB / 0.8082 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.6191, allocations: 18.47 kB / 0.8082 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.6191, allocations: 6.297 kB / 0.8082 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.6192, allocations: 27.12 kB / 0.8082 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6193, allocations: 0 / 0.8082 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6193, allocations: 0 / 0.8082 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.6193, allocations: 0 / 0.8082 GB, free: 1.93 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005466/0.6198, allocations: 333.4 kB / 0.8085 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6199, allocations: 11.38 kB / 0.8085 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.6199, allocations: 30.75 kB / 0.8086 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.62, allocations: 5.719 kB / 0.8086 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.6201, allocations: 177.1 kB / 0.8087 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/0.6202, allocations: 32.95 kB / 0.8088 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.6202, allocations: 384 / 0.8088 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.6203, allocations: 43.97 kB / 0.8088 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.6203, allocations: 0 / 0.8088 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.6204, allocations: 0 / 0.8088 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.6204, allocations: 1.906 kB / 0.8088 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.6205, allocations: 13.36 kB / 0.8088 GB, free: 17.26 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.6206, allocations: 158.4 kB / 0.809 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.283e-05/0.6207, allocations: 29.69 kB / 0.809 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.6208, allocations: 14.94 kB / 0.809 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.6209, allocations: 92.69 kB / 0.8091 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.621, allocations: 41 kB / 0.8092 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.621, allocations: 0 / 0.8092 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002175/0.6212, allocations: 62.42 kB / 0.8092 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.6212, allocations: 51.41 kB / 0.8093 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.6213, allocations: 95.78 kB / 0.8094 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.6213, allocations: 29.39 kB / 0.8094 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/0.6213, allocations: 80.14 kB / 0.8095 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.6214, allocations: 8.719 kB / 0.8095 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.6214, allocations: 23.84 kB / 0.8095 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.6215, allocations: 311.9 kB / 0.8098 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.6215, allocations: 7.875 kB / 0.8098 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.6216, allocations: 10.7 kB / 0.8098 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.289e-05/0.6217, allocations: 20.81 kB / 0.8098 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6217, allocations: 0 / 0.8098 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000111/0.6218, allocations: 57.39 kB / 0.8099 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6218, allocations: 11.22 kB / 0.8099 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.6218, allocations: 0 / 0.8099 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.6218, allocations: 1.625 kB / 0.8099 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.6219, allocations: 7.281 kB / 0.8099 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6219, allocations: 1.094 kB / 0.8099 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.622, allocations: 1.438 kB / 0.8099 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.622, allocations: 1.562 kB / 0.8099 GB, free: 16.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/0.622, allocations: 115 kB / 0.81 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.6221, allocations: 7.969 kB / 0.81 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.6222, allocations: 60.44 kB / 0.8101 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.6222, allocations: 2.281 kB / 0.8101 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6222, allocations: 0 / 0.8101 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.6222, allocations: 2.203 kB / 0.8101 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.491e-05/0.6223, allocations: 152.2 kB / 0.8102 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6223, allocations: 1.203 kB / 0.8102 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.6224, allocations: 4.906 kB / 0.8102 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.6224, allocations: 5.812 kB / 0.8102 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.6224, allocations: 3.75 kB / 0.8102 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6224, allocations: 6.906 kB / 0.8102 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6224, allocations: 3.094 kB / 0.8102 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.6225, allocations: 72.88 kB / 0.8103 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.6226, allocations: 90.08 kB / 0.8104 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.6226, allocations: 3.031 kB / 0.8104 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.6227, allocations: 3.047 kB / 0.8104 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.6227, allocations: 2.844 kB / 0.8104 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.6227, allocations: 5.094 kB / 0.8104 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.6228, allocations: 85.45 kB / 0.8105 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6228, allocations: 0 / 0.8105 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001853/0.623, allocations: 8.875 kB / 0.8105 GB, free: 15.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004187/0.6234, allocations: 0.6239 MB / 0.8111 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.6236, allocations: 29.94 kB / 0.8111 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6236, allocations: 0 / 0.8111 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.6236, allocations: 12.81 kB / 0.8112 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.6239, allocations: 4.75 kB / 0.8112 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.6243, allocations: 162.6 kB / 0.8113 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.6245, allocations: 0.6737 MB / 0.812 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.6246, allocations: 3.688 kB / 0.812 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.6246, allocations: 10.16 kB / 0.812 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.6246, allocations: 0 / 0.812 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.636, allocations: 1.268 MB / 0.8132 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.6362, allocations: 225.8 kB / 0.8134 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.364, allocations: 2.375 kB / 0.8134 GB, free: 13.65 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)