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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 177 kB / 23.35 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9976/0.9976, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001702/0.001702, allocations: 245.1 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7709/0.7709, allocations: 138.4 MB / 402.2 MB, free: 0.5391 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.383e-05, allocations: 3.516 kB / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1499/0.15, allocations: 145.5 MB / 0.5936 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1517, allocations: 0.8752 MB / 0.5945 GB, free: 24 kB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.1519, allocations: 11.88 kB / 0.5945 GB, free: 12 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.1522, allocations: 79.34 kB / 0.5946 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007565/0.1529, allocations: 330.2 kB / 0.5949 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.1536, allocations: 287.3 kB / 0.5951 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006195/0.1542, allocations: 0.5533 MB / 0.5957 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.1545, allocations: 160 kB / 0.5958 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.155, allocations: 303.1 kB / 0.5961 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.1553, allocations: 163.5 kB / 0.5963 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.1553, allocations: 16 kB / 0.5963 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.1555, allocations: 83.92 kB / 0.5964 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-05/0.1556, allocations: 91.72 kB / 0.5965 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.627e-05/0.1557, allocations: 83.77 kB / 0.5966 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.156, allocations: 247.1 kB / 0.5968 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.156, allocations: 0 / 0.5968 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.154e-06/0.156, allocations: 4 kB / 0.5968 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.156, allocations: 0 / 0.5968 GB, free: 13.65 MB / 0.5573 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.0005061/0.1565, allocations: 446.3 kB / 0.5972 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1566, allocations: 12.75 kB / 0.5972 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.1566, allocations: 28.91 kB / 0.5973 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1569, allocations: 218.3 kB / 0.5975 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1569, allocations: 12.38 kB / 0.5975 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.1569, allocations: 24.38 kB / 0.5975 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.1572, allocations: 214.6 kB / 0.5977 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1572, allocations: 7.938 kB / 0.5977 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1572, allocations: 4 kB / 0.5977 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1572, allocations: 8 kB / 0.5977 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.1573, allocations: 74.59 kB / 0.5978 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.1581, allocations: 1.158 MB / 0.5989 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.1583, allocations: 311.4 kB / 0.5992 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.1584, allocations: 63.08 kB / 0.5993 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.1585, allocations: 39.89 kB / 0.5993 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1585, allocations: 42.55 kB / 0.5994 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1585, allocations: 0 / 0.5994 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0002226/0.1588, allocations: 97.47 kB / 0.5995 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.1588, allocations: 179.9 kB / 0.5996 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1589, allocations: 195.1 kB / 0.5998 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.159, allocations: 29.64 kB / 0.5998 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.159, allocations: 163.9 kB / 0.6 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.159, allocations: 35.69 kB / 0.6 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.1591, allocations: 33.7 kB / 0.6001 GB, free: 9.98 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.1592, allocations: 338.7 kB / 0.6004 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.1592, allocations: 10.83 kB / 0.6004 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/0.1593, allocations: 170.5 kB / 0.6006 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.1594, allocations: 109.1 kB / 0.6007 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1594, allocations: 4 kB / 0.6007 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001142/0.1595, allocations: 103.1 kB / 0.6008 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1595, allocations: 8 kB / 0.6008 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1595, allocations: 0 / 0.6008 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1595, allocations: 4.219 kB / 0.6008 GB, free: 9.152 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.1596, allocations: 31.98 kB / 0.6008 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1596, allocations: 7.984 kB / 0.6008 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.1597, allocations: 17.7 kB / 0.6008 GB, free: 9.098 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1597, allocations: 11.94 kB / 0.6008 GB, free: 9.086 MB / 0.5573 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 7.199e-05/0.1598, allocations: 116.7 kB / 0.601 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.1598, allocations: 15.92 kB / 0.601 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.16, allocations: 79.5 kB / 0.601 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.16, allocations: 4 kB / 0.601 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.16, allocations: 0.8125 kB / 0.601 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.16, allocations: 8 kB / 0.6011 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.1605, allocations: 0.6552 MB / 0.6017 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1605, allocations: 0 / 0.6017 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.1605, allocations: 27.92 kB / 0.6017 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1605, allocations: 0 / 0.6017 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1605, allocations: 5.375 kB / 0.6017 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1606, allocations: 0 / 0.6017 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1606, allocations: 4 kB / 0.6017 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.1607, allocations: 275.4 kB / 0.602 GB, free: 7.812 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.1608, allocations: 23.84 kB / 0.602 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1608, allocations: 4 kB / 0.602 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.391e-05/0.1608, allocations: 11.98 kB / 0.602 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.1609, allocations: 19.8 kB / 0.6021 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1609, allocations: 4 kB / 0.6021 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.1609, allocations: 54.2 kB / 0.6021 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1609, allocations: 0 / 0.6021 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002318/0.1612, allocations: 63.83 kB / 0.6022 GB, free: 7.633 MB / 0.5573 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.0001742/0.1613, allocations: 108.3 kB / 0.6023 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1615, allocations: 61.2 kB / 0.6023 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.1615, allocations: 4 kB / 0.6023 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.1615, allocations: 32.77 kB / 0.6024 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.1618, allocations: 64.31 kB / 0.6024 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.1625, allocations: 447.4 kB / 0.6029 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.608e-05/0.1625, allocations: 86.64 kB / 0.6029 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.182e-05/0.1626, allocations: 26.59 kB / 0.603 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1628, allocations: 91.34 kB / 0.603 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/0.1628, allocations: 0 / 0.603 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of Templates: time 0.005281/0.168, allocations: 2.926 MB / 0.6059 GB, free: 3.891 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6702349688857794]