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.001656/0.001656, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002105/0.002105, allocations: 220.6 kB / 23 MB, free: 4.973 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.82 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 0.9255/0.9255, allocations: 149.9 MB / 463 MB, free: 10.41 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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [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.002337/0.002337, allocations: 71.05 kB / 0.6411 GB, free: 10.21 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1872, allocations: 89.18 MB / 0.7282 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5758/0.763, allocations: 142.2 MB / 0.867 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006969/0.7699, allocations: 4.198 MB / 0.8711 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004532/0.7704, allocations: 15.88 kB / 0.8711 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.771, allocations: 131 kB / 0.8713 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.7723, allocations: 338.5 kB / 0.8716 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009621/0.7732, allocations: 286.2 kB / 0.8719 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000888/0.7741, allocations: 0.5612 MB / 0.8724 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.7745, allocations: 160 kB / 0.8726 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.7762, allocations: 0.6694 MB / 0.8732 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.7766, allocations: 191.2 kB / 0.8734 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.7766, allocations: 16 kB / 0.8734 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.7769, allocations: 83.92 kB / 0.8735 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.777, allocations: 83.72 kB / 0.8736 GB, free: 456 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.7772, allocations: 99.59 kB / 0.8737 GB, free: 356 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.7776, allocations: 304.7 kB / 0.874 GB, free: 56 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.7776, allocations: 0 / 0.874 GB, free: 56 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7776, allocations: 4 kB / 0.874 GB, free: 52 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.7777, allocations: 4 kB / 0.874 GB, free: 48 kB / 0.6387 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.0009579/0.7786, allocations: 473.5 kB / 0.8744 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.7787, allocations: 8.031 kB / 0.8744 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.622e-05/0.7787, allocations: 54.55 kB / 0.8745 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.7788, allocations: 27.8 kB / 0.8745 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.7792, allocations: 229.6 kB / 0.8747 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.7793, allocations: 12 kB / 0.8747 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.7793, allocations: 24 kB / 0.8748 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.7798, allocations: 261.8 kB / 0.875 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.7798, allocations: 7.984 kB / 0.875 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.7798, allocations: 7.938 kB / 0.875 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.7798, allocations: 4 kB / 0.875 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.7802, allocations: 147.8 kB / 0.8752 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.7816, allocations: 1.304 MB / 0.8764 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.782, allocations: 175.7 kB / 0.8766 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.7821, allocations: 101 kB / 0.8767 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.7824, allocations: 39.94 kB / 0.8767 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.7825, allocations: 42.5 kB / 0.8768 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.7825, allocations: 0 / 0.8768 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.000618/0.7831, allocations: 213.7 kB / 0.877 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.7832, allocations: 187.9 kB / 0.8772 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.7835, allocations: 292.2 kB / 0.8774 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.7836, allocations: 25.7 kB / 0.8775 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.7837, allocations: 151.8 kB / 0.8776 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.7837, allocations: 31.7 kB / 0.8776 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.7838, allocations: 45.64 kB / 0.8777 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7839, allocations: 330.8 kB / 0.878 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.7841, allocations: 48.12 kB / 0.878 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.7843, allocations: 219.2 kB / 0.8783 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.7846, allocations: 158.7 kB / 0.8784 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7846, allocations: 0 / 0.8784 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003895/0.785, allocations: 193.2 kB / 0.8786 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.785, allocations: 4 kB / 0.8786 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.785, allocations: 4 kB / 0.8786 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.785, allocations: 224 / 0.8786 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.7852, allocations: 39.92 kB / 0.8786 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.7852, allocations: 7.984 kB / 0.8786 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.7854, allocations: 26.72 kB / 0.8787 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.7854, allocations: 11.98 kB / 0.8787 GB, free: 10.79 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.0001402/0.7856, allocations: 141.8 kB / 0.8788 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.7857, allocations: 27.8 kB / 0.8788 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.786, allocations: 135 kB / 0.879 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.786, allocations: 4 kB / 0.879 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.786, allocations: 7.984 kB / 0.879 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.786, allocations: 0 / 0.879 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.7869, allocations: 0.7253 MB / 0.8797 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7869, allocations: 7.938 kB / 0.8797 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.787, allocations: 23.92 kB / 0.8797 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.787, allocations: 0 / 0.8797 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.787, allocations: 4.156 kB / 0.8797 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.7871, allocations: 8 kB / 0.8797 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7871, allocations: 1.125 kB / 0.8797 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.7876, allocations: 339.5 kB / 0.8801 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.7877, allocations: 35.81 kB / 0.8801 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.7877, allocations: 7.984 kB / 0.8801 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.7879, allocations: 8 kB / 0.8801 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.7879, allocations: 11.92 kB / 0.8801 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.7879, allocations: 8.062 kB / 0.8801 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002317/0.7881, allocations: 211.2 kB / 0.8803 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7881, allocations: 3.938 kB / 0.8803 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000352/0.7885, allocations: 59.88 kB / 0.8804 GB, free: 8.918 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.0009744/0.7895, allocations: 0.8999 MB / 0.8813 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.7898, allocations: 120.7 kB / 0.8814 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7898, allocations: 0 / 0.8814 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.79, allocations: 55.91 kB / 0.8814 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.7907, allocations: 141 kB / 0.8816 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.7942, allocations: 2.595 MB / 0.8841 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.7943, allocations: 146.2 kB / 0.8842 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.7945, allocations: 58.19 kB / 0.8843 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.7946, allocations: 71.41 kB / 0.8844 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.7946, allocations: 0 / 0.8844 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04021/0.8348, allocations: 7.837 MB / 0.892 GB, free: 13.06 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.67, allocations: 14.28 kB / 0.892 GB, free: 13.05 MB / 0.67 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.509384796954691] Failed to read output from testmodel.py, exit status != 0: 11.79563543619588 11.821750299 11.039246477 Calling exit ...