Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001142/0.001142, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001299/0.001299, allocations: 191.5 kB / 16.25 MB, free: 6.641 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.961/2.961, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.7 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3647, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1787/0.5435, allocations: 159.2 MB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005876/0.5494, allocations: 4.504 MB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.55, allocations: 7.938 kB / 1.228 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.5506, allocations: 107.3 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.5518, allocations: 314.7 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.553, allocations: 247.1 kB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.5542, allocations: 0.5612 MB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.5548, allocations: 197.2 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.5564, allocations: 446.4 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/0.5569, allocations: 203.2 kB / 1.23 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.557, allocations: 20 kB / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.5573, allocations: 83.81 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.5575, allocations: 83.72 kB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.5577, allocations: 119.4 kB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.5582, allocations: 291.1 kB / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.5582, allocations: 0 / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5582, allocations: 0 / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.5583, allocations: 0 / 1.23 GB, free: 3.852 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.001177/0.5594, allocations: 0.5373 MB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5595, allocations: 8.031 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.5596, allocations: 31.66 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.5601, allocations: 271.3 kB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.5601, allocations: 15.98 kB / 1.231 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.5601, allocations: 20 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.5606, allocations: 261.9 kB / 1.231 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5607, allocations: 0 / 1.231 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.5607, allocations: 15.88 kB / 1.231 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.5607, allocations: 4 kB / 1.231 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.5611, allocations: 151.8 kB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.5624, allocations: 1.379 MB / 1.233 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.5628, allocations: 179.7 kB / 1.233 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.563, allocations: 93.11 kB / 1.233 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/0.5633, allocations: 121 kB / 1.233 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.5634, allocations: 42.44 kB / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.5634, allocations: 0 / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006581/0.5641, allocations: 213.6 kB / 1.233 GB, free: 216 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.5642, allocations: 183.9 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.5645, allocations: 291 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.5646, allocations: 25.7 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.5647, allocations: 147.9 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.5647, allocations: 35.62 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.5648, allocations: 37.7 kB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5649, allocations: 334.8 kB / 1.234 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.5651, allocations: 43.95 kB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.5653, allocations: 119.6 kB / 1.234 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.5656, allocations: 150.8 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5656, allocations: 4 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003984/0.566, allocations: 189.1 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5661, allocations: 12.16 kB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5661, allocations: 4 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.5661, allocations: 4 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.5663, allocations: 35.86 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.5663, allocations: 3.984 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.5665, allocations: 35.67 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.5665, allocations: 8 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.0001575/0.5667, allocations: 149.8 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.5668, allocations: 27.66 kB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.5672, allocations: 130.9 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.5672, allocations: 4 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5672, allocations: 384 / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5672, allocations: 0 / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008812/0.5681, allocations: 0.7769 MB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5681, allocations: 3.938 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.5683, allocations: 27.97 kB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5683, allocations: 0 / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.5683, allocations: 8 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.5683, allocations: 4 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5683, allocations: 160 / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.5689, allocations: 343.3 kB / 1.236 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.569, allocations: 112.8 kB / 1.236 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.569, allocations: 8 kB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.5692, allocations: 7.984 kB / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.5692, allocations: 15.92 kB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.5692, allocations: 4 kB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002119/0.5695, allocations: 209.9 kB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5695, allocations: 4.062 kB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003628/0.5698, allocations: 56 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.0003738/0.5702, allocations: 147.5 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000381/0.5706, allocations: 124 kB / 1.237 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5706, allocations: 4 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.5708, allocations: 59.89 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000777/0.5716, allocations: 126.3 kB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000937/0.5725, allocations: 0.5428 MB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.5729, allocations: 0.7634 MB / 1.238 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.5731, allocations: 50.27 kB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.5732, allocations: 23.44 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.5732, allocations: 0 / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of Templates: time 0.009009/0.5822, allocations: 4.157 MB / 1.243 GB, free: 6.449 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)