Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001307/0.001307, allocations: 193.2 kB / 16.14 MB, free: 6.664 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.57/1.57, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.56 kB / 0.9113 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3721, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1889/0.561, allocations: 159.1 MB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005449/0.5665, allocations: 4.546 MB / 1.227 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004642/0.567, allocations: 11.94 kB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.5676, allocations: 95.36 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008491/0.5685, allocations: 314.7 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008014/0.5693, allocations: 250.9 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007532/0.5701, allocations: 0.7914 MB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.5704, allocations: 165.5 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009241/0.5713, allocations: 434.4 kB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.5716, allocations: 195.2 kB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.5717, allocations: 12 kB / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.5718, allocations: 75.88 kB / 1.23 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.572, allocations: 83.72 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.5721, allocations: 111.4 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.5725, allocations: 283.1 kB / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5725, allocations: 4 kB / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.51e-07/0.5725, allocations: 0 / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.5725, allocations: 0 / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008589/0.5734, allocations: 0.5334 MB / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5734, allocations: 8.031 kB / 1.231 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.5735, allocations: 27.66 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.5739, allocations: 275.3 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5739, allocations: 16 kB / 1.231 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.5739, allocations: 20 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.5744, allocations: 265.8 kB / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5744, allocations: 0 / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.5744, allocations: 11.88 kB / 1.231 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5744, allocations: 8 kB / 1.231 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.5748, allocations: 151.8 kB / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.576, allocations: 1.371 MB / 1.233 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.5764, allocations: 179.7 kB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.5765, allocations: 93.11 kB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.5769, allocations: 117 kB / 1.233 GB, free: 496 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5769, allocations: 50.42 kB / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.577, allocations: 0 / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006115/0.5776, allocations: 201.8 kB / 1.233 GB, free: 228 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.5777, allocations: 191.9 kB / 1.233 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.578, allocations: 291 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.5781, allocations: 25.7 kB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5782, allocations: 143.9 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.5782, allocations: 43.52 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.5783, allocations: 33.72 kB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5784, allocations: 330.8 kB / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.5786, allocations: 51.95 kB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.5788, allocations: 115.6 kB / 1.234 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.579, allocations: 159 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5791, allocations: 0 / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003569/0.5794, allocations: 193.2 kB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.5794, allocations: 7.938 kB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5795, allocations: 4 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5795, allocations: 0 / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.5796, allocations: 35.91 kB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5796, allocations: 4.219 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.5798, allocations: 35.67 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.5798, allocations: 12 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001239/0.58, allocations: 141.8 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.5801, allocations: 31.59 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.5804, allocations: 131 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5805, allocations: 4 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5805, allocations: 4 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5805, allocations: 48 / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008587/0.5813, allocations: 0.7769 MB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5814, allocations: 8.094 kB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.5815, allocations: 23.98 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5815, allocations: 0 / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.5815, allocations: 7.938 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5815, allocations: 0 / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5815, allocations: 4.125 kB / 1.236 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.5821, allocations: 347.3 kB / 1.236 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.5822, allocations: 112.8 kB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.5822, allocations: 0 / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.5824, allocations: 20.05 kB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.5824, allocations: 11.92 kB / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.5824, allocations: 4 kB / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002074/0.5827, allocations: 209.9 kB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5827, allocations: 0 / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003484/0.583, allocations: 52 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0003973/0.5834, allocations: 144.2 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.5838, allocations: 115.9 kB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5838, allocations: 0 / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.584, allocations: 64.45 kB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007933/0.5848, allocations: 127.8 kB / 1.237 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009389/0.5857, allocations: 0.5407 MB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.5861, allocations: 0.7599 MB / 1.238 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001579/0.5863, allocations: 62.22 kB / 1.238 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.5863, allocations: 19.44 kB / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.5863, allocations: 4 kB / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of Templates: time 0.01007/0.5964, allocations: 4 MB / 1.242 GB, free: 6.605 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)