Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001378/0.001378, 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.001436/0.001436, allocations: 195.6 kB / 16.14 MB, free: 6.684 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.523/1.523, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002757/0.002757, allocations: 279.2 kB / 290.2 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.186/1.186, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003027/0.003028, allocations: 98.56 kB / 0.6057 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1693, allocations: 89.15 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5551/0.7245, allocations: 159.1 MB / 0.8482 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006108/0.7306, allocations: 4.555 MB / 0.8526 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.7311, allocations: 9.188 kB / 0.8526 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.7316, allocations: 94.48 kB / 0.8527 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008896/0.7326, allocations: 314.5 kB / 0.853 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008123/0.7334, allocations: 251 kB / 0.8532 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008327/0.7342, allocations: 0.7903 MB / 0.854 GB, free: 328 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.7345, allocations: 164 kB / 0.8542 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009699/0.7355, allocations: 427.7 kB / 0.8546 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.7358, allocations: 202.7 kB / 0.8548 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.7359, allocations: 10 kB / 0.8548 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.7361, allocations: 68.14 kB / 0.8549 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.7362, allocations: 82.47 kB / 0.8549 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.7363, allocations: 115.7 kB / 0.855 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.7367, allocations: 285.5 kB / 0.8553 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.7367, allocations: 0 / 0.8553 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.01e-07/0.7367, allocations: 0 / 0.8553 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.7367, allocations: 0 / 0.8553 GB, free: 15.52 MB / 0.5919 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.0009284/0.7377, allocations: 0.5297 MB / 0.8558 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.7377, allocations: 14.25 kB / 0.8558 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.7378, allocations: 28.03 kB / 0.8559 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.7382, allocations: 280.2 kB / 0.8561 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.7382, allocations: 13.56 kB / 0.8562 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.7383, allocations: 17.03 kB / 0.8562 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.7388, allocations: 271.2 kB / 0.8564 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.7388, allocations: 0 / 0.8564 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.7389, allocations: 10.16 kB / 0.8564 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.7389, allocations: 9.141 kB / 0.8564 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.7392, allocations: 147.6 kB / 0.8566 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.7407, allocations: 1.376 MB / 0.8579 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.741, allocations: 180.6 kB / 0.8581 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.7413, allocations: 88.33 kB / 0.8582 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003765/0.7416, allocations: 123.4 kB / 0.8583 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.7417, allocations: 41.44 kB / 0.8583 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7417, allocations: 0 / 0.8583 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006349/0.7423, allocations: 210.4 kB / 0.8585 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.7425, allocations: 189.7 kB / 0.8587 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.7428, allocations: 287 kB / 0.859 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.7428, allocations: 29.69 kB / 0.859 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.7429, allocations: 144.1 kB / 0.8592 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.743, allocations: 44.56 kB / 0.8592 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.7431, allocations: 38.7 kB / 0.8592 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7432, allocations: 333.7 kB / 0.8596 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.7434, allocations: 45.69 kB / 0.8596 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.7436, allocations: 120.8 kB / 0.8597 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.7439, allocations: 160.7 kB / 0.8599 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7439, allocations: 3.938 kB / 0.8599 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003794/0.7443, allocations: 190.1 kB / 0.8601 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.7443, allocations: 9.719 kB / 0.8601 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7443, allocations: 6.312 kB / 0.8601 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.7443, allocations: 2.781 kB / 0.8601 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.7445, allocations: 28.42 kB / 0.8601 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.7445, allocations: 7.156 kB / 0.8601 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.7447, allocations: 25.3 kB / 0.8601 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.7447, allocations: 15.73 kB / 0.8602 GB, free: 11.18 MB / 0.5919 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.000149/0.7449, allocations: 139.7 kB / 0.8603 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.745, allocations: 31.84 kB / 0.8603 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.7454, allocations: 129.3 kB / 0.8604 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.7454, allocations: 6.781 kB / 0.8604 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7454, allocations: 2.344 kB / 0.8604 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7454, allocations: 6.672 kB / 0.8605 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.7463, allocations: 0.7681 MB / 0.8612 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7463, allocations: 2.875 kB / 0.8612 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.7464, allocations: 25.55 kB / 0.8612 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.7465, allocations: 2.062 kB / 0.8612 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.7465, allocations: 6.516 kB / 0.8612 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7465, allocations: 2.844 kB / 0.8612 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7465, allocations: 0 / 0.8612 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.747, allocations: 349.6 kB / 0.8616 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.7472, allocations: 106.5 kB / 0.8617 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.7472, allocations: 2.406 kB / 0.8617 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.7473, allocations: 13.55 kB / 0.8617 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.7474, allocations: 12.94 kB / 0.8617 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.7474, allocations: 9.734 kB / 0.8617 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001976/0.7476, allocations: 210 kB / 0.8619 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7476, allocations: 96 / 0.8619 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003446/0.748, allocations: 65.22 kB / 0.862 GB, free: 9.602 MB / 0.5919 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.0003445/0.7483, allocations: 140.1 kB / 0.8621 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.7487, allocations: 123.8 kB / 0.8622 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7487, allocations: 0 / 0.8622 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7489, allocations: 61 kB / 0.8623 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.7496, allocations: 125.1 kB / 0.8624 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.7505, allocations: 0.5315 MB / 0.8629 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.7509, allocations: 0.7623 MB / 0.8637 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.7511, allocations: 52.97 kB / 0.8637 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.7511, allocations: 24.23 kB / 0.8637 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.7512, allocations: 4 kB / 0.8637 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of Templates: time 0.008454/0.7596, allocations: 4.02 MB / 0.8677 GB, free: 6.191 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)