Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001095/0.001095, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002187/0.002187, allocations: 289 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9176/0.9176, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3868, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1599/0.5467, allocations: 163.2 MB / 0.9265 GB, free: 80 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005599/0.5523, allocations: 4.574 MB / 0.9309 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.5527, allocations: 11.94 kB / 0.9309 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.5532, allocations: 127 kB / 0.9311 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.5546, allocations: 0.5406 MB / 0.9316 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.5564, allocations: 0.7776 MB / 0.9324 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007345/0.5571, allocations: 0.5729 MB / 0.9329 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.5575, allocations: 213.1 kB / 0.9331 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000978/0.5585, allocations: 466.2 kB / 0.9336 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.5591, allocations: 289.6 kB / 0.9338 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.5592, allocations: 20 kB / 0.9339 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.5607, allocations: 1.005 MB / 0.9348 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.5609, allocations: 87.72 kB / 0.9349 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.561, allocations: 123.4 kB / 0.935 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.5621, allocations: 0.7285 MB / 0.9357 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5622, allocations: 0 / 0.9357 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5622, allocations: 0 / 0.9357 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.5622, allocations: 0 / 0.9357 GB, free: 6.555 MB / 0.7012 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.0009394/0.5631, allocations: 0.5918 MB / 0.9363 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.5632, allocations: 8.031 kB / 0.9363 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.5639, allocations: 83.5 kB / 0.9364 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.5643, allocations: 299.3 kB / 0.9367 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.5643, allocations: 15.95 kB / 0.9367 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.5644, allocations: 20 kB / 0.9367 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.5649, allocations: 279.5 kB / 0.937 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5649, allocations: 3.984 kB / 0.937 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.5649, allocations: 8 kB / 0.937 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.5649, allocations: 7.938 kB / 0.937 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.5654, allocations: 212.3 kB / 0.9372 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.5669, allocations: 1.226 MB / 0.9384 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.5672, allocations: 181 kB / 0.9386 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.5674, allocations: 112.2 kB / 0.9387 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/0.5682, allocations: 331.2 kB / 0.939 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.5682, allocations: 46.69 kB / 0.9391 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.5682, allocations: 0 / 0.9391 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0007578/0.569, allocations: 277.1 kB / 0.9393 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.569, allocations: 158.7 kB / 0.9395 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.5693, allocations: 291 kB / 0.9398 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.5694, allocations: 29.7 kB / 0.9398 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.5695, allocations: 147.8 kB / 0.9399 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.5695, allocations: 47.3 kB / 0.94 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.5696, allocations: 41.7 kB / 0.94 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5697, allocations: 338.8 kB / 0.9403 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.5699, allocations: 67.94 kB / 0.9404 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.5701, allocations: 148.5 kB / 0.9405 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.5705, allocations: 207.5 kB / 0.9407 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5705, allocations: 4 kB / 0.9407 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000498/0.571, allocations: 245.1 kB / 0.941 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.5711, allocations: 8 kB / 0.941 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5711, allocations: 0 / 0.941 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5711, allocations: 4 kB / 0.941 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.5713, allocations: 35.92 kB / 0.941 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.5713, allocations: 8.188 kB / 0.941 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.5715, allocations: 35.73 kB / 0.9411 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.5715, allocations: 15.98 kB / 0.9411 GB, free: 0.6406 MB / 0.7012 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.0001275/0.5717, allocations: 153.6 kB / 0.9412 GB, free: 492 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.5718, allocations: 27.72 kB / 0.9412 GB, free: 464 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.5723, allocations: 181.9 kB / 0.9414 GB, free: 264 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5723, allocations: 0 / 0.9414 GB, free: 264 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5723, allocations: 0 / 0.9414 GB, free: 264 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.5724, allocations: 108.8 kB / 0.9415 GB, free: 136 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.5724, allocations: 15.78 kB / 0.9415 GB, free: 120 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.5727, allocations: 15.98 kB / 0.9416 GB, free: 104 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.5727, allocations: 7.984 kB / 0.9416 GB, free: 96 kB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005105/0.5733, allocations: 0.5214 MB / 0.9421 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006471/0.5739, allocations: 0.6796 MB / 0.9427 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001365/0.5741, allocations: 55.98 kB / 0.9428 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002099/0.5743, allocations: 238 kB / 0.943 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of Backend: time 2.4e-07/0.5743, allocations: 3.938 kB / 0.943 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.5758, allocations: 403.6 kB / 0.9434 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001369/0.5772, allocations: 1.025 MB / 0.9444 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of Templates: time 0.01305/0.5902, allocations: 7.961 MB / 0.9522 GB, free: 5.234 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)