Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001019/0.001019, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001115/0.001116, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 251.9 MB / 0.51 GB, free: 4.812 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006134/0.0006135, allocations: 12 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5795/0.5801, allocations: 106.3 MB / 0.728 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1654/0.7456, allocations: 137.1 MB / 0.8618 GB, free: 1.965 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005418/0.751, allocations: 3.622 MB / 0.8654 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.7514, allocations: 7.938 kB / 0.8654 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006901/0.7521, allocations: 163.2 kB / 0.8655 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.7534, allocations: 406.7 kB / 0.8659 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.755, allocations: 0.5629 MB / 0.8665 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.7556, allocations: 343.7 kB / 0.8668 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.7559, allocations: 165.3 kB / 0.867 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008143/0.7567, allocations: 323.1 kB / 0.8673 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.7573, allocations: 219.3 kB / 0.8675 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.7573, allocations: 12 kB / 0.8675 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.7584, allocations: 435.3 kB / 0.8679 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.7585, allocations: 75.78 kB / 0.868 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.7585, allocations: 73.58 kB / 0.868 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.7591, allocations: 343.2 kB / 0.8684 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.7591, allocations: 0 / 0.8684 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7591, allocations: 4 kB / 0.8684 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.7591, allocations: 0 / 0.8684 GB, free: 11.26 MB / 0.6856 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.0008295/0.7599, allocations: 0.5257 MB / 0.8689 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.76, allocations: 8.031 kB / 0.8689 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006746/0.7607, allocations: 83.55 kB / 0.869 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.7611, allocations: 278.5 kB / 0.8692 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.7611, allocations: 19.94 kB / 0.8693 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.7611, allocations: 20 kB / 0.8693 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.7616, allocations: 283.5 kB / 0.8695 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.7617, allocations: 7.875 kB / 0.8696 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.7617, allocations: 4 kB / 0.8696 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.7617, allocations: 7.938 kB / 0.8696 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.7621, allocations: 215.5 kB / 0.8698 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.7637, allocations: 1.249 MB / 0.871 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.7641, allocations: 189 kB / 0.8712 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003829/0.7644, allocations: 145 kB / 0.8713 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.7645, allocations: 50.62 kB / 0.8714 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.7645, allocations: 0 / 0.8714 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0008314/0.7653, allocations: 329.5 kB / 0.8717 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/0.7654, allocations: 158.2 kB / 0.8718 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.7658, allocations: 279 kB / 0.8721 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.7659, allocations: 25.7 kB / 0.8721 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.766, allocations: 151.5 kB / 0.8723 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.7661, allocations: 51.3 kB / 0.8723 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.7661, allocations: 0 / 0.8723 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.7663, allocations: 338.8 kB / 0.8726 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.7665, allocations: 79.94 kB / 0.8727 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.7668, allocations: 159.6 kB / 0.8729 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.767, allocations: 99.94 kB / 0.873 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.767, allocations: 0 / 0.873 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005491/0.7675, allocations: 281.3 kB / 0.8732 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.7676, allocations: 5.875 kB / 0.8732 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.7676, allocations: 7.953 kB / 0.8732 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.7676, allocations: 4 kB / 0.8732 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.7678, allocations: 43.91 kB / 0.8733 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.7679, allocations: 4.062 kB / 0.8733 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.7681, allocations: 35.78 kB / 0.8733 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.7681, allocations: 16.05 kB / 0.8733 GB, free: 5.801 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.7683, allocations: 149.8 kB / 0.8735 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.7684, allocations: 23.72 kB / 0.8735 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005536/0.769, allocations: 232.4 kB / 0.8737 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.769, allocations: 7.953 kB / 0.8737 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.769, allocations: 3.938 kB / 0.8737 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.769, allocations: 4 kB / 0.8737 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.7704, allocations: 0.9174 MB / 0.8746 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7704, allocations: 0 / 0.8746 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.7706, allocations: 39.91 kB / 0.8747 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.7706, allocations: 4 kB / 0.8747 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.7707, allocations: 0 / 0.8747 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.7707, allocations: 4 kB / 0.8747 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7707, allocations: 0 / 0.8747 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.7714, allocations: 486.8 kB / 0.8751 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.7716, allocations: 128.7 kB / 0.8753 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.7716, allocations: 3.953 kB / 0.8753 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.7718, allocations: 15.98 kB / 0.8753 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.7719, allocations: 11.98 kB / 0.8753 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.7719, allocations: 7.938 kB / 0.8753 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002174/0.7721, allocations: 213.9 kB / 0.8755 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.7722, allocations: 4 kB / 0.8755 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005031/0.7727, allocations: 95.92 kB / 0.8756 GB, free: 3.305 MB / 0.6856 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005199/0.7732, allocations: 203.3 kB / 0.8758 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.7737, allocations: 183.8 kB / 0.876 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7737, allocations: 0 / 0.876 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.7739, allocations: 84.64 kB / 0.8761 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/0.7747, allocations: 141.5 kB / 0.8762 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/0.7756, allocations: 0.5904 MB / 0.8768 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.7761, allocations: 0.7599 MB / 0.8775 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002214/0.7763, allocations: 70.14 kB / 0.8776 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.7764, allocations: 27.42 kB / 0.8776 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of SimCode: time 3e-07/0.7764, allocations: 0 / 0.8776 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of Templates: time 0.01081/0.7872, allocations: 5.395 MB / 0.8829 GB, free: 11.86 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: