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.001144/0.001145, 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.001174/0.001174, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 65.28 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.36, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1826/0.5427, allocations: 159.2 MB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006256/0.549, allocations: 4.507 MB / 1.228 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004486/0.5494, allocations: 7.938 kB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.55, allocations: 103.4 kB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.5511, allocations: 306.7 kB / 1.228 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.552, allocations: 259.1 kB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008203/0.5529, allocations: 0.5573 MB / 1.229 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.5533, allocations: 193.1 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.5545, allocations: 450.3 kB / 1.229 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.5549, allocations: 199.2 kB / 1.23 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.5549, allocations: 27.94 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.5551, allocations: 71.94 kB / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.5553, allocations: 83.73 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.5554, allocations: 123.4 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.5559, allocations: 291.1 kB / 1.23 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.5559, allocations: 0 / 1.23 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5559, allocations: 3.938 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.5559, allocations: 0 / 1.23 GB, free: 3.883 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.0009967/0.5569, allocations: 0.5334 MB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.557, allocations: 8.031 kB / 1.231 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.5571, allocations: 27.66 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.5575, allocations: 271.4 kB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.5575, allocations: 12 kB / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.5576, allocations: 16 kB / 1.231 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.5581, allocations: 269.8 kB / 1.231 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.5582, allocations: 7.938 kB / 1.231 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.5582, allocations: 11.92 kB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5582, allocations: 4 kB / 1.231 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.5586, allocations: 159.8 kB / 1.231 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.5603, allocations: 1.371 MB / 1.233 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.5607, allocations: 179.7 kB / 1.233 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.5608, allocations: 89.05 kB / 1.233 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003766/0.5612, allocations: 125 kB / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.5613, allocations: 42.48 kB / 1.233 GB, free: 472 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 4.088e-06/0.5613, allocations: 0 / 1.233 GB, free: 472 kB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006591/0.562, allocations: 209.6 kB / 1.233 GB, free: 256 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.5621, allocations: 187.9 kB / 1.234 GB, free: 24 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.5624, allocations: 287.2 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.5624, allocations: 29.7 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.5626, allocations: 143.9 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.5626, allocations: 47.52 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.5627, allocations: 29.72 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5628, allocations: 338.8 kB / 1.234 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.5629, allocations: 43.95 kB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.5631, allocations: 115.7 kB / 1.234 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.5635, allocations: 158.7 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5635, allocations: 0 / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004067/0.5639, allocations: 189.2 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5639, allocations: 12.16 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5639, allocations: 0 / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5639, allocations: 7.938 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.5641, allocations: 31.97 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.5641, allocations: 4 kB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.5643, allocations: 31.67 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.5643, allocations: 11.94 kB / 1.235 GB, free: 14.48 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.000138/0.5645, allocations: 149.8 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.5646, allocations: 27.66 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.565, allocations: 139.3 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.565, allocations: 4 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.565, allocations: 4 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.565, allocations: 3.938 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009001/0.5659, allocations: 0.7691 MB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5659, allocations: 0 / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.5661, allocations: 23.92 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.5661, allocations: 4 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.5661, allocations: 4 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5661, allocations: 0 / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.5661, allocations: 8.156 kB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.5667, allocations: 339.3 kB / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5668, allocations: 112.8 kB / 1.236 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.5669, allocations: 0 / 1.236 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.567, allocations: 15.98 kB / 1.236 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.5671, allocations: 15.86 kB / 1.236 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.5671, allocations: 4 kB / 1.236 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002056/0.5673, allocations: 209.9 kB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5673, allocations: 4.062 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003634/0.5677, allocations: 52 kB / 1.237 GB, free: 12.47 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.0003396/0.568, allocations: 144.3 kB / 1.237 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.5684, allocations: 124 kB / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5684, allocations: 0 / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.5686, allocations: 63.83 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.5693, allocations: 128.6 kB / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008879/0.5702, allocations: 0.5428 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.5706, allocations: 0.7634 MB / 1.238 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.5708, allocations: 46.25 kB / 1.238 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.5708, allocations: 31.44 kB / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.5708, allocations: 0 / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of Templates: time 0.009048/0.5799, allocations: 4.153 MB / 1.243 GB, free: 6.488 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)