Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",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.001249/0.001249, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.001311/0.001311, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.257/1.257, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6881/0.6881, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3051, allocations: 76.18 MB / 0.556 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1453/0.4504, allocations: 161 MB / 0.7132 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004911/0.4554, allocations: 4.547 MB / 0.7177 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.4557, allocations: 7.938 kB / 0.7177 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.4561, allocations: 103.3 kB / 0.7178 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.4573, allocations: 0.5097 MB / 0.7183 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.4589, allocations: 0.7193 MB / 0.719 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005894/0.4595, allocations: 0.5845 MB / 0.7196 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.4598, allocations: 195 kB / 0.7198 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008908/0.4607, allocations: 462.3 kB / 0.7202 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.4612, allocations: 295 kB / 0.7205 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.4613, allocations: 16 kB / 0.7205 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.4626, allocations: 1.052 MB / 0.7215 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.4628, allocations: 95.72 kB / 0.7216 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.4629, allocations: 131.3 kB / 0.7217 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009835/0.4639, allocations: 0.7635 MB / 0.7225 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4639, allocations: 0 / 0.7225 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4639, allocations: 0 / 0.7225 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4639, allocations: 4 kB / 0.7225 GB, free: 9.617 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008481/0.4648, allocations: 0.588 MB / 0.7231 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4648, allocations: 15.97 kB / 0.7231 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/0.4649, allocations: 50.55 kB / 0.7231 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.4655, allocations: 79.5 kB / 0.7232 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.4659, allocations: 283.4 kB / 0.7235 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.4659, allocations: 13.08 kB / 0.7235 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.466, allocations: 24 kB / 0.7235 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.4664, allocations: 279.4 kB / 0.7238 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4664, allocations: 4 kB / 0.7238 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.4665, allocations: 11.92 kB / 0.7238 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4665, allocations: 4 kB / 0.7238 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.4669, allocations: 215.5 kB / 0.724 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.4683, allocations: 1.245 MB / 0.7252 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.4686, allocations: 177 kB / 0.7254 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.4688, allocations: 112.2 kB / 0.7255 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/0.4695, allocations: 335.2 kB / 0.7258 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.4696, allocations: 34.69 kB / 0.7258 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.4696, allocations: 4 kB / 0.7258 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0006986/0.4703, allocations: 273.5 kB / 0.7261 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.4703, allocations: 162.2 kB / 0.7263 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.4706, allocations: 287 kB / 0.7265 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4706, allocations: 29.7 kB / 0.7266 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.4707, allocations: 143.9 kB / 0.7267 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.4708, allocations: 51.28 kB / 0.7267 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.4709, allocations: 49.73 kB / 0.7268 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.471, allocations: 338.8 kB / 0.7271 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.4711, allocations: 72.25 kB / 0.7272 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.4713, allocations: 140.5 kB / 0.7273 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.4717, allocations: 211.5 kB / 0.7275 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4717, allocations: 3.938 kB / 0.7275 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004747/0.4722, allocations: 245.3 kB / 0.7278 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.4722, allocations: 11.98 kB / 0.7278 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4722, allocations: 0 / 0.7278 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4722, allocations: 4 kB / 0.7278 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.4724, allocations: 35.92 kB / 0.7278 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4724, allocations: 4 kB / 0.7278 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.4726, allocations: 35.67 kB / 0.7278 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.4727, allocations: 8 kB / 0.7279 GB, free: 3.648 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001251/0.4728, allocations: 153.8 kB / 0.728 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.4729, allocations: 27.72 kB / 0.728 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.4734, allocations: 190.7 kB / 0.7282 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4734, allocations: 4.031 kB / 0.7282 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4734, allocations: 7.938 kB / 0.7282 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4734, allocations: 3.938 kB / 0.7282 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/0.4743, allocations: 0.8432 MB / 0.729 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4743, allocations: 4 kB / 0.729 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.4744, allocations: 39.92 kB / 0.7291 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4745, allocations: 4 kB / 0.7291 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4745, allocations: 0 / 0.7291 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4745, allocations: 4.078 kB / 0.7291 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4745, allocations: 8.141 kB / 0.7291 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.475, allocations: 339.4 kB / 0.7294 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.4751, allocations: 112.7 kB / 0.7295 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.4751, allocations: 4 kB / 0.7295 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.4753, allocations: 19.92 kB / 0.7296 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.4753, allocations: 7.984 kB / 0.7296 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.4754, allocations: 4 kB / 0.7296 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002104/0.4756, allocations: 242 kB / 0.7298 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4756, allocations: 0 / 0.7298 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004119/0.476, allocations: 87.98 kB / 0.7299 GB, free: 1.414 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001107/0.4771, allocations: 0.9829 MB / 0.7308 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.4775, allocations: 155.7 kB / 0.731 GB, free: 252 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4775, allocations: 0 / 0.731 GB, free: 252 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.4776, allocations: 60.59 kB / 0.731 GB, free: 192 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007216/0.4784, allocations: 142.1 kB / 0.7312 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.4815, allocations: 2.809 MB / 0.7339 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.4817, allocations: 0.7597 MB / 0.7347 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.482, allocations: 74.86 kB / 0.7347 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.4821, allocations: 75.41 kB / 0.7348 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.4821, allocations: 0 / 0.7348 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.5035, allocations: 8.399 MB / 0.743 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.5037, allocations: 229.1 kB / 0.7432 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.384, allocations: 0 / 0.7432 GB, free: 3.719 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)