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.0008575/0.0008576, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001115, allocations: 168.7 kB / 15.95 MB, free: 204 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.696/1.696, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.701/1.701, allocations: 252 MB / 0.5102 GB, free: 4.871 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.0009879/0.0009881, allocations: 20 kB / 0.6243 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5743, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1668/0.7412, allocations: 148.4 MB / 0.873 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005442/0.7467, allocations: 4.321 MB / 0.8772 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.747, allocations: 7.938 kB / 0.8772 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004967/0.7475, allocations: 87.34 kB / 0.8773 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.7489, allocations: 374.2 kB / 0.8777 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.7505, allocations: 0.5278 MB / 0.8782 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0008324/0.7513, allocations: 0.6859 MB / 0.8789 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.7516, allocations: 161.3 kB / 0.879 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008788/0.7525, allocations: 358.5 kB / 0.8794 GB, free: 160 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.7531, allocations: 271 kB / 0.8796 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.7531, allocations: 12 kB / 0.8796 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.7542, allocations: 0.5223 MB / 0.8801 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.7544, allocations: 75.78 kB / 0.8802 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.7544, allocations: 69.58 kB / 0.8803 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.7549, allocations: 411 kB / 0.8807 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7549, allocations: 0 / 0.8807 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7549, allocations: 0 / 0.8807 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.755, allocations: 0 / 0.8807 GB, free: 14.8 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.0007748/0.7557, allocations: 0.5602 MB / 0.8812 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.7558, allocations: 8.031 kB / 0.8812 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005865/0.7564, allocations: 71.66 kB / 0.8813 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.7567, allocations: 286.4 kB / 0.8816 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.7567, allocations: 16 kB / 0.8816 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.7568, allocations: 16 kB / 0.8816 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.7573, allocations: 287.5 kB / 0.8819 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7573, allocations: 0 / 0.8819 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.7573, allocations: 4 kB / 0.8819 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.7574, allocations: 8 kB / 0.8819 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.7578, allocations: 223.5 kB / 0.8821 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.7593, allocations: 1.238 MB / 0.8833 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.7595, allocations: 169.2 kB / 0.8835 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.7597, allocations: 120.2 kB / 0.8836 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/0.7604, allocations: 351.2 kB / 0.8839 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.7605, allocations: 42.52 kB / 0.8839 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.7605, allocations: 3.938 kB / 0.884 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0007019/0.7612, allocations: 289.5 kB / 0.8842 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.7613, allocations: 162.2 kB / 0.8844 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.7615, allocations: 283.4 kB / 0.8847 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.7616, allocations: 25.7 kB / 0.8847 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.7617, allocations: 151.7 kB / 0.8848 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.7617, allocations: 59.23 kB / 0.8849 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.7617, allocations: 3.938 kB / 0.8849 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7618, allocations: 334.8 kB / 0.8852 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.762, allocations: 71.94 kB / 0.8853 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.7622, allocations: 141.7 kB / 0.8854 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.7624, allocations: 91.89 kB / 0.8855 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7624, allocations: 0 / 0.8855 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004674/0.7629, allocations: 253.2 kB / 0.8857 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7629, allocations: 7.953 kB / 0.8857 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7629, allocations: 4 kB / 0.8857 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.763, allocations: 4 kB / 0.8857 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.7631, allocations: 35.98 kB / 0.8858 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.7632, allocations: 11.92 kB / 0.8858 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.7633, allocations: 31.95 kB / 0.8858 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.7634, allocations: 12 kB / 0.8858 GB, free: 9.082 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.7635, allocations: 141.8 kB / 0.886 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.7637, allocations: 31.62 kB / 0.886 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.7641, allocations: 201.8 kB / 0.8862 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7641, allocations: 0 / 0.8862 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7642, allocations: 4 kB / 0.8862 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7642, allocations: 0 / 0.8862 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009103/0.7651, allocations: 0.8667 MB / 0.887 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7651, allocations: 0 / 0.887 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.7652, allocations: 23.98 kB / 0.8871 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7652, allocations: 4 kB / 0.8871 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.7652, allocations: 4 kB / 0.8871 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.7652, allocations: 12.09 kB / 0.8871 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7653, allocations: 0 / 0.8871 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.7658, allocations: 363.1 kB / 0.8874 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.7659, allocations: 120.8 kB / 0.8875 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.766, allocations: 4 kB / 0.8876 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.7661, allocations: 20.05 kB / 0.8876 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.7662, allocations: 7.984 kB / 0.8876 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.7662, allocations: 4 kB / 0.8876 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002333/0.7664, allocations: 233.9 kB / 0.8878 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7664, allocations: 0 / 0.8878 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004272/0.7669, allocations: 95.94 kB / 0.8879 GB, free: 6.82 MB / 0.7012 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 (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.0004487/0.7673, allocations: 204.5 kB / 0.8881 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.7677, allocations: 160 kB / 0.8882 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7677, allocations: 0 / 0.8882 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.7678, allocations: 59.91 kB / 0.8883 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.7686, allocations: 137.2 kB / 0.8884 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/0.7694, allocations: 0.5594 MB / 0.889 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.7697, allocations: 0.756 MB / 0.8897 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000204/0.77, allocations: 62.28 kB / 0.8898 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.77, allocations: 31.42 kB / 0.8898 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of SimCode: time 2.4e-07/0.77, allocations: 0 / 0.8898 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of Templates: time 0.009608/0.7796, allocations: 5.226 MB / 0.8949 GB, free: 15.63 MB / 0.7169 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: