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.005869/0.005868, allocations: 102 kB / 15.73 MB, free: 6.051 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.001029/0.001029, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 292.2 kB / 290.8 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.9239/0.9239, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 95.86 kB / 0.6815 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4797, allocations: 86.98 MB / 0.7664 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1784/0.6581, allocations: 163.2 MB / 0.9258 GB, free: 128 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006038/0.6642, allocations: 4.579 MB / 0.9303 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.6647, allocations: 15.88 kB / 0.9303 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.6653, allocations: 127 kB / 0.9304 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.6667, allocations: 0.5367 MB / 0.9309 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.6687, allocations: 0.7725 MB / 0.9317 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006849/0.6694, allocations: 0.5768 MB / 0.9322 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.6698, allocations: 213.1 kB / 0.9324 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.6708, allocations: 462.3 kB / 0.9329 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/0.6714, allocations: 293.6 kB / 0.9332 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.6715, allocations: 20 kB / 0.9332 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.6732, allocations: 1.002 MB / 0.9342 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 9.322e-05/0.6733, allocations: 83.73 kB / 0.9342 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.6734, allocations: 131.4 kB / 0.9344 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009859/0.6744, allocations: 0.7246 MB / 0.9351 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.6744, allocations: 4 kB / 0.9351 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6745, allocations: 0 / 0.9351 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.6745, allocations: 0 / 0.9351 GB, free: 6.59 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.0009344/0.6754, allocations: 0.5879 MB / 0.9356 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.6755, allocations: 12.03 kB / 0.9357 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006573/0.6761, allocations: 87.42 kB / 0.9357 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.6765, allocations: 299.4 kB / 0.936 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.6765, allocations: 19.95 kB / 0.936 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.6766, allocations: 16 kB / 0.9361 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.6771, allocations: 279.5 kB / 0.9363 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6771, allocations: 0 / 0.9363 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.6771, allocations: 12 kB / 0.9363 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.6772, allocations: 11.92 kB / 0.9364 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.6776, allocations: 208.3 kB / 0.9366 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.6792, allocations: 1.234 MB / 0.9378 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.6795, allocations: 165.2 kB / 0.9379 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.6797, allocations: 120.2 kB / 0.938 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/0.6805, allocations: 331.2 kB / 0.9383 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.6805, allocations: 38.56 kB / 0.9384 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.6805, allocations: 3.938 kB / 0.9384 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0007766/0.6813, allocations: 277.1 kB / 0.9386 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.6814, allocations: 162.2 kB / 0.9388 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.6817, allocations: 287 kB / 0.9391 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.6818, allocations: 29.7 kB / 0.9391 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.6819, allocations: 148.3 kB / 0.9392 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.6819, allocations: 51.3 kB / 0.9393 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/0.682, allocations: 41.7 kB / 0.9393 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6821, allocations: 338.8 kB / 0.9397 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.6823, allocations: 67.94 kB / 0.9397 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.6825, allocations: 142.9 kB / 0.9399 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.6829, allocations: 215.5 kB / 0.9401 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6829, allocations: 0 / 0.9401 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000482/0.6834, allocations: 249.2 kB / 0.9403 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6834, allocations: 4 kB / 0.9403 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6834, allocations: 4 kB / 0.9403 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6835, allocations: 0 / 0.9403 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.6836, allocations: 43.86 kB / 0.9404 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.6837, allocations: 0 / 0.9404 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.6838, allocations: 31.73 kB / 0.9404 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.6839, allocations: 15.92 kB / 0.9404 GB, free: 0.6797 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.0001294/0.684, allocations: 160.2 kB / 0.9406 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.6842, allocations: 23.72 kB / 0.9406 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.6846, allocations: 189.8 kB / 0.9408 GB, free: 296 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6846, allocations: 4 kB / 0.9408 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6847, allocations: 0 / 0.9408 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6847, allocations: 3.938 kB / 0.9408 GB, free: 288 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009722/0.6856, allocations: 0.8589 MB / 0.9416 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6857, allocations: 0 / 0.9416 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.6858, allocations: 27.92 kB / 0.9416 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.6858, allocations: 3.938 kB / 0.9416 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.6858, allocations: 4 kB / 0.9416 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6858, allocations: 0 / 0.9416 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6858, allocations: 8.156 kB / 0.9416 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.6864, allocations: 339.7 kB / 0.942 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.6865, allocations: 116.7 kB / 0.9421 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.6865, allocations: 4 kB / 0.9421 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.6867, allocations: 11.98 kB / 0.9421 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.6868, allocations: 11.92 kB / 0.9421 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.6868, allocations: 8 kB / 0.9421 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002216/0.687, allocations: 233.9 kB / 0.9423 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.687, allocations: 4.062 kB / 0.9423 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004407/0.6875, allocations: 95.92 kB / 0.9424 GB, free: 14.45 MB / 0.7169 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.0005319/0.688, allocations: 210.6 kB / 0.9426 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.6884, allocations: 155.7 kB / 0.9428 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6884, allocations: 0 / 0.9428 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.6886, allocations: 56.72 kB / 0.9428 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007618/0.6893, allocations: 146.3 kB / 0.943 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.6901, allocations: 0.4958 MB / 0.9435 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.6904, allocations: 0.7636 MB / 0.9442 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.6906, allocations: 63.03 kB / 0.9443 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.6907, allocations: 27.42 kB / 0.9443 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.6907, allocations: 0 / 0.9443 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.01004/0.7007, allocations: 5.834 MB / 0.95 GB, free: 6.727 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)