Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001512/0.001512, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001352/0.001352, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.398/1.398, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.7992/0.7992, allocations: 133.9 MB / 442.8 MB, free: 11.32 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.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001861/0.001861, allocations: 67.78 kB / 0.6134 GB, free: 8.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1671, allocations: 85.86 MB / 0.6973 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5703/0.7373, allocations: 171 MB / 0.8642 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008607/0.746, allocations: 6.59 MB / 0.8707 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005036/0.7465, allocations: 15.88 kB / 0.8707 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005724/0.747, allocations: 174.7 kB / 0.8709 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.7493, allocations: 0.8752 MB / 0.8717 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.7503, allocations: 328.1 kB / 0.872 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.7513, allocations: 0.7212 MB / 0.8727 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.7518, allocations: 234.3 kB / 0.873 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.753, allocations: 0.572 MB / 0.8735 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.7535, allocations: 283 kB / 0.8738 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.7535, allocations: 23.94 kB / 0.8738 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007273/0.7542, allocations: 371.1 kB / 0.8742 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.7544, allocations: 115.6 kB / 0.8743 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.7545, allocations: 159.2 kB / 0.8744 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006916/0.7552, allocations: 484.2 kB / 0.8749 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7552, allocations: 3.984 kB / 0.8749 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7552, allocations: 0 / 0.8749 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.7552, allocations: 0 / 0.8749 GB, free: 2.578 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009418/0.7562, allocations: 0.6268 MB / 0.8755 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.7562, allocations: 13.11 kB / 0.8755 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.088e-05/0.7563, allocations: 62.53 kB / 0.8756 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/0.7566, allocations: 63.67 kB / 0.8756 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.7572, allocations: 333.3 kB / 0.876 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.7572, allocations: 20.56 kB / 0.876 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.7573, allocations: 28 kB / 0.876 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.7578, allocations: 315.7 kB / 0.8763 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.7578, allocations: 3.984 kB / 0.8763 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.7579, allocations: 16 kB / 0.8763 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.7579, allocations: 11.94 kB / 0.8763 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.7583, allocations: 201.6 kB / 0.8765 GB, free: 0.7852 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.76, allocations: 1.531 MB / 0.878 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.7603, allocations: 114.5 kB / 0.8781 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.7604, allocations: 88.8 kB / 0.8782 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006271/0.7611, allocations: 303.2 kB / 0.8785 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.7611, allocations: 30.56 kB / 0.8785 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.993e-06/0.7611, allocations: 0 / 0.8785 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0008154/0.7619, allocations: 269.6 kB / 0.8788 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.762, allocations: 55.41 kB / 0.8788 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.7623, allocations: 312.5 kB / 0.8791 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.7623, allocations: 29.7 kB / 0.8792 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.7625, allocations: 184.3 kB / 0.8793 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.7625, allocations: 43.58 kB / 0.8794 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-05/0.7626, allocations: 41.66 kB / 0.8794 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.7628, allocations: 346.7 kB / 0.8798 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.7629, allocations: 59.95 kB / 0.8798 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.7631, allocations: 113.1 kB / 0.8799 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.7635, allocations: 177.9 kB / 0.8801 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7635, allocations: 0 / 0.8801 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004353/0.7639, allocations: 215.1 kB / 0.8803 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.7639, allocations: 4 kB / 0.8803 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7639, allocations: 8.156 kB / 0.8803 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7639, allocations: 3.938 kB / 0.8803 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.7641, allocations: 35.92 kB / 0.8803 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.7641, allocations: 3.984 kB / 0.8803 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.7643, allocations: 27.84 kB / 0.8804 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.7643, allocations: 7.984 kB / 0.8804 GB, free: 12.52 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001541/0.7645, allocations: 157.6 kB / 0.8805 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.7645, allocations: 35.78 kB / 0.8806 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.765, allocations: 206.8 kB / 0.8808 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.765, allocations: 0 / 0.8808 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.765, allocations: 3.984 kB / 0.8808 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.7651, allocations: 4 kB / 0.8808 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.7661, allocations: 0.6796 MB / 0.8814 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7661, allocations: 3.938 kB / 0.8814 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.7663, allocations: 27.98 kB / 0.8815 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.7663, allocations: 3.938 kB / 0.8815 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.7663, allocations: 8.219 kB / 0.8815 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.7663, allocations: 8 kB / 0.8815 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.7663, allocations: 3.938 kB / 0.8815 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.7668, allocations: 337.5 kB / 0.8818 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.7669, allocations: 124.8 kB / 0.8819 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.7669, allocations: 3.938 kB / 0.8819 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.7671, allocations: 15.98 kB / 0.8819 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.7671, allocations: 15.92 kB / 0.882 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.7671, allocations: 8 kB / 0.882 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002265/0.7674, allocations: 223 kB / 0.8822 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7674, allocations: 0 / 0.8822 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003885/0.7677, allocations: 75.89 kB / 0.8823 GB, free: 10.46 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009344/0.7687, allocations: 0.9015 MB / 0.8831 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.7691, allocations: 156.5 kB / 0.8833 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7691, allocations: 320 / 0.8833 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.7693, allocations: 83.83 kB / 0.8834 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.7701, allocations: 146.3 kB / 0.8835 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.7738, allocations: 2.809 MB / 0.8862 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.7743, allocations: 0.7873 MB / 0.887 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.7745, allocations: 64.25 kB / 0.8871 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.7746, allocations: 91.41 kB / 0.8872 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of SimCode: time 8.91e-07/0.7746, allocations: 0 / 0.8872 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.8073, allocations: 8.11 MB / 0.8951 GB, free: 13.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.91, allocations: 5.984 kB / 0.8951 GB, free: 13.29 MB / 0.67 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_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_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.464378531003604] Failed to read output from testmodel.py, exit status != 0: 8.981215783991502 9.001557836 8.242316119 Calling exit ...