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.001521/0.001521, allocations: 114.8 kB / 16.42 MB, free: 6.504 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.00188/0.00188, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 294.7 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.953/0.953, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00321/0.00321, allocations: 95.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4053, allocations: 86.97 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1614/0.5667, allocations: 163.2 MB / 0.9265 GB, free: 76 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005649/0.5724, allocations: 4.583 MB / 0.9309 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.5728, allocations: 7.938 kB / 0.9309 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.5732, allocations: 123 kB / 0.9311 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.5746, allocations: 0.5602 MB / 0.9316 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.5766, allocations: 0.7784 MB / 0.9324 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007103/0.5773, allocations: 0.5729 MB / 0.9329 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003677/0.5777, allocations: 225.1 kB / 0.9331 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.5787, allocations: 478.2 kB / 0.9336 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.5793, allocations: 297.5 kB / 0.9339 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.5793, allocations: 16 kB / 0.9339 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.581, allocations: 1.005 MB / 0.9349 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.5811, allocations: 83.78 kB / 0.935 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.5812, allocations: 135.3 kB / 0.9351 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5825, allocations: 0.7208 MB / 0.9358 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.5825, allocations: 0 / 0.9358 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5825, allocations: 4 kB / 0.9358 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.5825, allocations: 0 / 0.9358 GB, free: 6.492 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.001056/0.5836, allocations: 0.5957 MB / 0.9364 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5837, allocations: 12.02 kB / 0.9364 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007082/0.5844, allocations: 75.5 kB / 0.9365 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.5849, allocations: 299.4 kB / 0.9367 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.5849, allocations: 23.89 kB / 0.9368 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.5849, allocations: 16 kB / 0.9368 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.5855, allocations: 283.5 kB / 0.9371 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5855, allocations: 0 / 0.9371 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.5855, allocations: 8 kB / 0.9371 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-06/0.5855, allocations: 7.938 kB / 0.9371 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.586, allocations: 204.4 kB / 0.9373 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.5875, allocations: 1.238 MB / 0.9385 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.5879, allocations: 173 kB / 0.9386 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.5881, allocations: 120.2 kB / 0.9388 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007578/0.5888, allocations: 327.2 kB / 0.9391 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.5889, allocations: 42.69 kB / 0.9391 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.5889, allocations: 0 / 0.9391 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0007483/0.5896, allocations: 273.5 kB / 0.9394 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.5897, allocations: 162.2 kB / 0.9395 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.59, allocations: 283 kB / 0.9398 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.59, allocations: 33.7 kB / 0.9398 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.5902, allocations: 147.8 kB / 0.94 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.5902, allocations: 43.42 kB / 0.94 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.5903, allocations: 45.7 kB / 0.94 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5904, allocations: 342.8 kB / 0.9404 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.5906, allocations: 67.94 kB / 0.9404 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.5908, allocations: 140.5 kB / 0.9406 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.5912, allocations: 215.5 kB / 0.9408 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5912, allocations: 4 kB / 0.9408 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000525/0.5917, allocations: 241.2 kB / 0.941 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5918, allocations: 15.92 kB / 0.941 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5918, allocations: 0 / 0.941 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5918, allocations: 4 kB / 0.941 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.592, allocations: 35.92 kB / 0.9411 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.592, allocations: 4.375 kB / 0.9411 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.5922, allocations: 31.73 kB / 0.9411 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.5922, allocations: 12 kB / 0.9411 GB, free: 0.5859 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.0001396/0.5924, allocations: 160.2 kB / 0.9413 GB, free: 432 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.5925, allocations: 27.66 kB / 0.9413 GB, free: 404 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.593, allocations: 193.8 kB / 0.9415 GB, free: 192 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.593, allocations: 3.984 kB / 0.9415 GB, free: 188 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.593, allocations: 4.062 kB / 0.9415 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.5932, allocations: 108.8 kB / 0.9416 GB, free: 56 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.5932, allocations: 15.84 kB / 0.9416 GB, free: 40 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.5935, allocations: 7.984 kB / 0.9416 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.5935, allocations: 8 kB / 0.9416 GB, free: 24 kB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005452/0.5941, allocations: 0.5292 MB / 0.9421 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006617/0.5947, allocations: 0.6792 MB / 0.9428 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001426/0.5949, allocations: 56 kB / 0.9429 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002201/0.5951, allocations: 241.9 kB / 0.9431 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of Backend: time 2.5e-07/0.5951, allocations: 0 / 0.9431 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.5966, allocations: 395.1 kB / 0.9435 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001414/0.598, allocations: 1.024 MB / 0.9445 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of Templates: time 0.01308/0.6111, allocations: 7.975 MB / 0.9522 GB, free: 5.152 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)