Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001817/0.001817, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002042/0.002042, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8404/0.8404, allocations: 134 MB / 446.4 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001933/0.001933, allocations: 61.06 kB / 0.6186 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1805, allocations: 85.9 MB / 0.7024 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5661/0.7466, allocations: 164.9 MB / 0.8635 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007123/0.7538, allocations: 4.618 MB / 0.868 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004569/0.7542, allocations: 15.81 kB / 0.868 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.7547, allocations: 123 kB / 0.8681 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0009205/0.7556, allocations: 350.5 kB / 0.8685 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.7566, allocations: 298.4 kB / 0.8687 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0007685/0.7574, allocations: 0.5652 MB / 0.8693 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.7577, allocations: 157.4 kB / 0.8694 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.7588, allocations: 490.2 kB / 0.8699 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.7592, allocations: 203.2 kB / 0.8701 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.7592, allocations: 16 kB / 0.8701 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.7594, allocations: 87.86 kB / 0.8702 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.7595, allocations: 87.72 kB / 0.8703 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.7596, allocations: 119.4 kB / 0.8704 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.7601, allocations: 308.9 kB / 0.8707 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.7601, allocations: 3.984 kB / 0.8707 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7601, allocations: 0 / 0.8707 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.7601, allocations: 4 kB / 0.8707 GB, free: 10.39 MB / 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.001107/0.7612, allocations: 480.6 kB / 0.8712 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.7612, allocations: 8.031 kB / 0.8712 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.218e-05/0.7613, allocations: 54.55 kB / 0.8712 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.7614, allocations: 27.81 kB / 0.8712 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.7619, allocations: 233.5 kB / 0.8715 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.7619, allocations: 15.94 kB / 0.8715 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.762, allocations: 23.94 kB / 0.8715 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.7625, allocations: 262 kB / 0.8718 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7625, allocations: 3.938 kB / 0.8718 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.7625, allocations: 8 kB / 0.8718 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.7625, allocations: 4 kB / 0.8718 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.7629, allocations: 143.8 kB / 0.8719 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.7644, allocations: 1.332 MB / 0.8732 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.7647, allocations: 183.7 kB / 0.8734 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.7649, allocations: 101 kB / 0.8735 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.7652, allocations: 39.94 kB / 0.8735 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.7652, allocations: 42.56 kB / 0.8736 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.7652, allocations: 0 / 0.8736 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.000631/0.7659, allocations: 201.3 kB / 0.8738 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.766, allocations: 188.5 kB / 0.8739 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.7663, allocations: 296.1 kB / 0.8742 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.7663, allocations: 33.7 kB / 0.8742 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.7665, allocations: 144 kB / 0.8744 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.7666, allocations: 39.62 kB / 0.8744 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.7666, allocations: 33.7 kB / 0.8745 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.7668, allocations: 338.8 kB / 0.8748 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.7669, allocations: 39.97 kB / 0.8748 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.7671, allocations: 117.1 kB / 0.8749 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.7674, allocations: 162.3 kB / 0.8751 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7674, allocations: 0 / 0.8751 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004807/0.7679, allocations: 197.3 kB / 0.8753 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.7679, allocations: 8 kB / 0.8753 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.7679, allocations: 3.984 kB / 0.8753 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.768, allocations: 4 kB / 0.8753 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.7681, allocations: 27.98 kB / 0.8753 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.7681, allocations: 4 kB / 0.8753 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.7683, allocations: 32.05 kB / 0.8753 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.7683, allocations: 8 kB / 0.8754 GB, free: 5.227 MB / 0.6387 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.0001382/0.7684, allocations: 153.7 kB / 0.8755 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.7686, allocations: 27.8 kB / 0.8755 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.7689, allocations: 131 kB / 0.8757 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.7689, allocations: 4 kB / 0.8757 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7689, allocations: 3.938 kB / 0.8757 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.7689, allocations: 8 kB / 0.8757 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000903/0.7698, allocations: 0.7377 MB / 0.8764 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.7698, allocations: 7.938 kB / 0.8764 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.7699, allocations: 23.92 kB / 0.8764 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.7699, allocations: 8.156 kB / 0.8764 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.77, allocations: 5.125 kB / 0.8764 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.77, allocations: 4 kB / 0.8764 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.77, allocations: 0 / 0.8764 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.7705, allocations: 339.5 kB / 0.8768 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.756e-05/0.7706, allocations: 39.73 kB / 0.8768 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.7706, allocations: 4 kB / 0.8768 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.7707, allocations: 7.984 kB / 0.8768 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.7708, allocations: 23.92 kB / 0.8768 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.7708, allocations: 4.875 kB / 0.8768 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002086/0.771, allocations: 211.1 kB / 0.877 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.771, allocations: 0 / 0.877 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000433/0.7715, allocations: 52 kB / 0.8771 GB, free: 3.336 MB / 0.6387 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.001059/0.7725, allocations: 0.8843 MB / 0.8779 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.7729, allocations: 123.8 kB / 0.8781 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7729, allocations: 0 / 0.8781 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.773, allocations: 63.83 kB / 0.8781 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.7738, allocations: 135.4 kB / 0.8783 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.7774, allocations: 2.61 MB / 0.8808 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.7781, allocations: 0.7635 MB / 0.8816 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.7782, allocations: 46.27 kB / 0.8816 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.7783, allocations: 71.39 kB / 0.8817 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of SimCode: time 5e-07/0.7783, allocations: 4 kB / 0.8817 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.8144, allocations: 7.019 MB / 0.8885 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.89, allocations: 2.5 kB / 0.8885 GB, free: 7.617 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.512976136997167] Failed to read output from testmodel.py, exit status != 0: 12.008804393997707 12.02449831 11.261381062 Calling exit ...