Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.3 MB / 303.2 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 189 kB / 371.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 0.6306 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 86.86 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004547, allocations: 20.42 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2892, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7434/1.033, allocations: 135.5 MB / 1.112 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005486/1.038, allocations: 3.671 MB / 1.115 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003866/1.039, allocations: 8.844 kB / 1.115 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000877/1.039, allocations: 156.7 kB / 1.115 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/1.041, allocations: 291.5 kB / 1.116 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/1.042, allocations: 342.3 kB / 1.116 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006184/1.043, allocations: 333.5 kB / 1.116 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/1.043, allocations: 157.6 kB / 1.117 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008866/1.044, allocations: 296.2 kB / 1.117 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/1.044, allocations: 138.6 kB / 1.117 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/1.044, allocations: 9.469 kB / 1.117 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/1.045, allocations: 63.42 kB / 1.117 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/1.045, allocations: 74.59 kB / 1.117 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/1.045, allocations: 66.45 kB / 1.117 GB, free: 17.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003647/1.045, allocations: 207.4 kB / 1.117 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/1.045, allocations: 0 / 1.117 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.734e-06/1.045, allocations: 0 / 1.117 GB, free: 17.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.292e-06/1.045, allocations: 0 / 1.117 GB, free: 17.41 MB / 0.698 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.000925/1.046, allocations: 0.5018 MB / 1.118 GB, free: 16.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.046, allocations: 9.312 kB / 1.118 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/1.046, allocations: 29 kB / 1.118 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/1.047, allocations: 275.3 kB / 1.118 GB, free: 16.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/1.047, allocations: 13.94 kB / 1.118 GB, free: 16.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/1.047, allocations: 21.69 kB / 1.118 GB, free: 16.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/1.047, allocations: 260.2 kB / 1.118 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.047, allocations: 5.75 kB / 1.118 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/1.048, allocations: 9.266 kB / 1.118 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.048, allocations: 5.656 kB / 1.118 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/1.048, allocations: 156.3 kB / 1.119 GB, free: 16.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/1.049, allocations: 1.376 MB / 1.12 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/1.05, allocations: 187.8 kB / 1.12 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003838/1.05, allocations: 136.1 kB / 1.12 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/1.05, allocations: 36.72 kB / 1.12 GB, free: 15.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/1.05, allocations: 3.938 kB / 1.12 GB, free: 15.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006421/1.051, allocations: 223.9 kB / 1.121 GB, free: 15.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/1.051, allocations: 185.6 kB / 1.121 GB, free: 14.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/1.051, allocations: 295.1 kB / 1.121 GB, free: 14.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/1.051, allocations: 27.77 kB / 1.121 GB, free: 14.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/1.051, allocations: 145.7 kB / 1.121 GB, free: 14.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/1.051, allocations: 34.89 kB / 1.121 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/1.051, allocations: 3.375 kB / 1.121 GB, free: 14.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.052, allocations: 335.1 kB / 1.122 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/1.052, allocations: 50.59 kB / 1.122 GB, free: 14.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/1.052, allocations: 118.8 kB / 1.122 GB, free: 14.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/1.052, allocations: 75.25 kB / 1.122 GB, free: 14.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.052, allocations: 0 / 1.122 GB, free: 14.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004053/1.053, allocations: 195.4 kB / 1.122 GB, free: 14.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.053, allocations: 7.828 kB / 1.122 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.053, allocations: 2.188 kB / 1.122 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.053, allocations: 7.359 kB / 1.122 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/1.053, allocations: 41.95 kB / 1.122 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.053, allocations: 4.562 kB / 1.122 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/1.053, allocations: 29.72 kB / 1.122 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/1.053, allocations: 12.34 kB / 1.122 GB, free: 14.19 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001443/1.053, allocations: 146.3 kB / 1.122 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/1.053, allocations: 25.17 kB / 1.122 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/1.054, allocations: 138.7 kB / 1.122 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.054, allocations: 6.172 kB / 1.122 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.054, allocations: 6.438 kB / 1.122 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.054, allocations: 3.328 kB / 1.122 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008332/1.055, allocations: 0.7779 MB / 1.123 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.055, allocations: 5.25 kB / 1.123 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/1.055, allocations: 24.69 kB / 1.123 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/1.055, allocations: 4.781 kB / 1.123 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/1.055, allocations: 8.781 kB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.055, allocations: 5.312 kB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.055, allocations: 1.375 kB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/1.055, allocations: 420 kB / 1.124 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.055, allocations: 110.4 kB / 1.124 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/1.055, allocations: 6.703 kB / 1.124 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/1.056, allocations: 12.38 kB / 1.124 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/1.056, allocations: 10.19 kB / 1.124 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/1.056, allocations: 6.688 kB / 1.124 GB, free: 12.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002008/1.056, allocations: 209.4 kB / 1.124 GB, free: 12.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.056, allocations: 1.5 kB / 1.124 GB, free: 12.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003703/1.056, allocations: 54.25 kB / 1.124 GB, free: 12.86 MB / 0.698 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 (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.0003601/1.057, allocations: 136.8 kB / 1.124 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003748/1.057, allocations: 133.5 kB / 1.124 GB, free: 12.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.057, allocations: 0 / 1.124 GB, free: 12.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/1.057, allocations: 65.66 kB / 1.124 GB, free: 12.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/1.058, allocations: 124.1 kB / 1.124 GB, free: 12.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009906/1.059, allocations: 0.5517 MB / 1.125 GB, free: 12.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/1.059, allocations: 0.7605 MB / 1.126 GB, free: 11.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002292/1.06, allocations: 58.52 kB / 1.126 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/1.06, allocations: 25.03 kB / 1.126 GB, free: 11.67 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/1.06, allocations: 0 / 1.126 GB, free: 11.67 MB / 0.698 GB Notification: Performance of Templates: time 0.008133/1.068, allocations: 3.88 MB / 1.13 GB, free: 10.95 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)