Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_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.001027/0.001027, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008286/0.008286, allocations: 170 kB / 16.26 MB, free: 6.613 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.292/1.292, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 274.4 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9274/0.9274, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004629, allocations: 13.17 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.177, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001537/0.1786, allocations: 1.216 MB / 0.6864 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4449/0.6236, allocations: 128.5 MB / 0.8119 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.6237, allocations: 0.7188 kB / 0.8119 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.6237, allocations: 10 kB / 0.8119 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.6238, allocations: 8.359 kB / 0.8119 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.6242, allocations: 60.66 kB / 0.812 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.6243, allocations: 56.12 kB / 0.8121 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.6244, allocations: 9.281 kB / 0.8121 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.174e-05/0.6245, allocations: 20.19 kB / 0.8121 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.043e-05/0.6245, allocations: 24.31 kB / 0.8121 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.6246, allocations: 2.188 kB / 0.8121 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.6247, allocations: 14.53 kB / 0.8121 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.6247, allocations: 12.19 kB / 0.8121 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.6248, allocations: 44.66 kB / 0.8122 GB, free: 16.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.6249, allocations: 57.36 kB / 0.8122 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.625, allocations: 0.5 kB / 0.8122 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.164e-06/0.625, allocations: 0 / 0.8122 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.625, allocations: 0.5312 kB / 0.8122 GB, free: 16.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005894/0.6256, allocations: 375.9 kB / 0.8126 GB, free: 16.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.6256, allocations: 8.719 kB / 0.8126 GB, free: 16.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.6257, allocations: 38.27 kB / 0.8126 GB, free: 16.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.6257, allocations: 8.031 kB / 0.8126 GB, free: 16.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.6259, allocations: 173 kB / 0.8128 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.6259, allocations: 3.75 kB / 0.8128 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.6259, allocations: 5.5 kB / 0.8128 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.6262, allocations: 85.17 kB / 0.8129 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.6262, allocations: 3.938 kB / 0.8129 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6262, allocations: 0.5312 kB / 0.8129 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6263, allocations: 2.859 kB / 0.8129 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.6266, allocations: 93.75 kB / 0.813 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.627, allocations: 287.1 kB / 0.8133 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.6273, allocations: 67.61 kB / 0.8133 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.6275, allocations: 50.23 kB / 0.8134 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.6276, allocations: 90.14 kB / 0.8135 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.6277, allocations: 36 kB / 0.8135 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.6277, allocations: 0.5 kB / 0.8135 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0006293/0.6283, allocations: 170.2 kB / 0.8137 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.6284, allocations: 51.94 kB / 0.8137 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.6285, allocations: 116 kB / 0.8138 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.6285, allocations: 33.89 kB / 0.8139 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.6286, allocations: 88.28 kB / 0.8139 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.6286, allocations: 5 kB / 0.8139 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.6286, allocations: 12.67 kB / 0.814 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6287, allocations: 322.7 kB / 0.8143 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.6289, allocations: 44.14 kB / 0.8143 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.629, allocations: 40.97 kB / 0.8143 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.6293, allocations: 93.73 kB / 0.8144 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6293, allocations: 0 / 0.8144 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003306/0.6297, allocations: 125.5 kB / 0.8146 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6297, allocations: 11.84 kB / 0.8146 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6297, allocations: 0 / 0.8146 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.6297, allocations: 1.031 kB / 0.8146 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.6299, allocations: 23.17 kB / 0.8146 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.6299, allocations: 3.359 kB / 0.8146 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.63, allocations: 20.84 kB / 0.8146 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.63, allocations: 7.062 kB / 0.8146 GB, free: 14.7 MB / 0.5606 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.906e-05/0.6301, allocations: 117.3 kB / 0.8147 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.6301, allocations: 6.281 kB / 0.8147 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.6305, allocations: 131.7 kB / 0.8149 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.6305, allocations: 1.859 kB / 0.8149 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6305, allocations: 3.531 kB / 0.8149 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6305, allocations: 0 / 0.8149 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.6306, allocations: 174.5 kB / 0.815 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6306, allocations: 0 / 0.815 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.6308, allocations: 25.27 kB / 0.8151 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6308, allocations: 0 / 0.8151 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.6308, allocations: 4.719 kB / 0.8151 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6308, allocations: 2.062 kB / 0.8151 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6308, allocations: 1.062 kB / 0.8151 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.6312, allocations: 216.7 kB / 0.8153 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.6312, allocations: 86.61 kB / 0.8154 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.6312, allocations: 7.188 kB / 0.8154 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.6313, allocations: 16.34 kB / 0.8154 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.6314, allocations: 4.391 kB / 0.8154 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.6314, allocations: 1.188 kB / 0.8154 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.6315, allocations: 97.42 kB / 0.8155 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6315, allocations: 0.9688 kB / 0.8155 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002272/0.6317, allocations: 11.75 kB / 0.8155 GB, free: 14.02 MB / 0.5606 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.0006509/0.6324, allocations: 0.7608 MB / 0.8162 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.6327, allocations: 97.38 kB / 0.8163 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6327, allocations: 0 / 0.8163 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.6329, allocations: 51.61 kB / 0.8164 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.6332, allocations: 8.891 kB / 0.8164 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.6349, allocations: 1.501 MB / 0.8178 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.6351, allocations: 0.6819 MB / 0.8185 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.6352, allocations: 10.11 kB / 0.8185 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.6352, allocations: 19.16 kB / 0.8185 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.6352, allocations: 0 / 0.8185 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2949/0.9301, allocations: 1.734 MB / 0.8202 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.9303, allocations: 215.3 kB / 0.8204 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.864, allocations: 1.125 kB / 0.8204 GB, free: 10.76 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)