Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001357/0.001357, allocations: 104.3 kB / 20.45 MB, free: 1.383 MB / 14.72 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.001515/0.001515, allocations: 205.1 kB / 23.74 MB, free: 4.543 MB / 14.72 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 1.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.025/1.025, allocations: 149.9 MB / 463.8 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 62.53 kB / 0.6423 GB, free: 9.609 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1836, allocations: 89.18 MB / 0.7294 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6323/0.816, allocations: 142.2 MB / 0.8683 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006917/0.8229, allocations: 4.186 MB / 0.8723 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.8233, allocations: 11.88 kB / 0.8724 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.8239, allocations: 139.1 kB / 0.8725 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.8251, allocations: 330.4 kB / 0.8728 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009512/0.826, allocations: 295.7 kB / 0.8731 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008668/0.8269, allocations: 0.5613 MB / 0.8736 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.8273, allocations: 153.4 kB / 0.8738 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.8292, allocations: 0.6655 MB / 0.8744 GB, free: 436 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.8295, allocations: 183.3 kB / 0.8746 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.8295, allocations: 20 kB / 0.8746 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.8298, allocations: 87.86 kB / 0.8747 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.8299, allocations: 91.67 kB / 0.8748 GB, free: 52 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.8301, allocations: 103.6 kB / 0.8749 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.8306, allocations: 297.6 kB / 0.8752 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.8306, allocations: 0 / 0.8752 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8306, allocations: 0 / 0.8752 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8306, allocations: 0 / 0.8752 GB, free: 15.66 MB / 0.6544 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.001029/0.8316, allocations: 484.6 kB / 0.8756 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.8316, allocations: 12.02 kB / 0.8756 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.155e-05/0.8317, allocations: 27.86 kB / 0.8757 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.8322, allocations: 225.6 kB / 0.8759 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.8322, allocations: 12 kB / 0.8759 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.8322, allocations: 24 kB / 0.8759 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.8327, allocations: 261.8 kB / 0.8762 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.8327, allocations: 8.75 kB / 0.8762 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.8327, allocations: 8 kB / 0.8762 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.8327, allocations: 4 kB / 0.8762 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.8331, allocations: 151.8 kB / 0.8763 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.8346, allocations: 1.227 MB / 0.8775 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.835, allocations: 187.7 kB / 0.8777 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.8352, allocations: 97.05 kB / 0.8778 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/0.8355, allocations: 39.94 kB / 0.8778 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.8355, allocations: 47.06 kB / 0.8779 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.8355, allocations: 0 / 0.8779 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006413/0.8362, allocations: 194.1 kB / 0.8781 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.8363, allocations: 183.9 kB / 0.8783 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.8365, allocations: 203.7 kB / 0.8784 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.8366, allocations: 37.64 kB / 0.8785 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.8367, allocations: 168.2 kB / 0.8786 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.8367, allocations: 35.69 kB / 0.8787 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.8368, allocations: 29.72 kB / 0.8787 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.837, allocations: 334.8 kB / 0.879 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.8371, allocations: 43.97 kB / 0.8791 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.8374, allocations: 219.5 kB / 0.8793 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.8377, allocations: 163.2 kB / 0.8794 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8377, allocations: 0 / 0.8794 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003748/0.8381, allocations: 182.8 kB / 0.8796 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.8381, allocations: 11.94 kB / 0.8796 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.8381, allocations: 0 / 0.8796 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.399e-05/0.8382, allocations: 4 kB / 0.8796 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.8383, allocations: 31.98 kB / 0.8797 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.8383, allocations: 6.359 kB / 0.8797 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.8385, allocations: 23.88 kB / 0.8797 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.8385, allocations: 8 kB / 0.8797 GB, free: 10.64 MB / 0.6544 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.0001626/0.8387, allocations: 153.9 kB / 0.8798 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.8388, allocations: 19.84 kB / 0.8799 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.8391, allocations: 134.4 kB / 0.88 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.8391, allocations: 7.938 kB / 0.88 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8391, allocations: 0 / 0.88 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.8391, allocations: 4 kB / 0.88 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000893/0.84, allocations: 0.6947 MB / 0.8807 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.84, allocations: 4.156 kB / 0.8807 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.8401, allocations: 27.92 kB / 0.8807 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.8401, allocations: 0 / 0.8807 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.8402, allocations: 4 kB / 0.8807 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.8402, allocations: 0 / 0.8807 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.8402, allocations: 4 kB / 0.8807 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.8407, allocations: 331.5 kB / 0.881 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.8408, allocations: 31.94 kB / 0.8811 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.8408, allocations: 4 kB / 0.8811 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.8409, allocations: 7.984 kB / 0.8811 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.841, allocations: 19.86 kB / 0.8811 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.841, allocations: 4 kB / 0.8811 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000141/0.8411, allocations: 144.7 kB / 0.8812 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.8411, allocations: 0 / 0.8812 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003641/0.8415, allocations: 63.83 kB / 0.8813 GB, free: 8.902 MB / 0.6544 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.0002308/0.8417, allocations: 127.1 kB / 0.8814 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.8421, allocations: 123.8 kB / 0.8815 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8421, allocations: 0 / 0.8815 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.8422, allocations: 55.91 kB / 0.8816 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.8428, allocations: 76.42 kB / 0.8817 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009893/0.8437, allocations: 0.4979 MB / 0.8821 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.8439, allocations: 153.8 kB / 0.8823 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.844, allocations: 15.44 kB / 0.8823 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of SimCode: time 5.92e-07/0.844, allocations: 4 kB / 0.8823 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of Templates: time 0.006274/0.8502, allocations: 3.097 MB / 0.8853 GB, free: 4.727 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.916666253935546] Failed to read output from testmodel.py, exit status != 0: 0.859566911123693 0.875815023 0.041781761 Calling exit ...