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.001741/0.001741, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001769/0.001769, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.801 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.8251/0.8251, allocations: 134 MB / 446.4 MB, free: 9.941 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.001959/0.001959, allocations: 75.05 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1681, allocations: 85.92 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5344/0.7024, allocations: 147.8 MB / 0.8467 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008308/0.7107, allocations: 6.001 MB / 0.8526 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.7112, allocations: 15.88 kB / 0.8526 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.7118, allocations: 182.7 kB / 0.8528 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.7142, allocations: 0.8519 MB / 0.8536 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.7152, allocations: 331.5 kB / 0.8539 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.7162, allocations: 0.7329 MB / 0.8546 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.7167, allocations: 210 kB / 0.8548 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.7179, allocations: 0.5798 MB / 0.8554 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.7184, allocations: 271 kB / 0.8556 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.7184, allocations: 20 kB / 0.8557 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.719, allocations: 299.2 kB / 0.8559 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.7191, allocations: 107.6 kB / 0.8561 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.7193, allocations: 127.4 kB / 0.8562 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.7199, allocations: 489.6 kB / 0.8566 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7199, allocations: 0 / 0.8566 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7199, allocations: 0 / 0.8566 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7199, allocations: 0 / 0.8566 GB, free: 5.273 MB / 0.6231 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.0008381/0.7208, allocations: 0.5593 MB / 0.8572 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7208, allocations: 8.031 kB / 0.8572 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.053e-05/0.7209, allocations: 62.55 kB / 0.8573 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.7212, allocations: 59.67 kB / 0.8573 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.7217, allocations: 267.5 kB / 0.8576 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.7217, allocations: 16.66 kB / 0.8576 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.7217, allocations: 28 kB / 0.8576 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.7222, allocations: 320.9 kB / 0.8579 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.7223, allocations: 0 / 0.8579 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.7223, allocations: 12 kB / 0.8579 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.7223, allocations: 13.5 kB / 0.8579 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.7227, allocations: 205.6 kB / 0.8581 GB, free: 3.652 MB / 0.6231 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.001432/0.7241, allocations: 1.191 MB / 0.8593 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.7244, allocations: 110.5 kB / 0.8594 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.7246, allocations: 92.73 kB / 0.8595 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/0.725, allocations: 71.91 kB / 0.8596 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.725, allocations: 38.56 kB / 0.8596 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.7251, allocations: 0 / 0.8596 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007164/0.7258, allocations: 273.6 kB / 0.8599 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.7258, allocations: 51.41 kB / 0.8599 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.7261, allocations: 312.5 kB / 0.8602 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.7262, allocations: 29.7 kB / 0.8602 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.7263, allocations: 184.2 kB / 0.8604 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.7264, allocations: 47.59 kB / 0.8605 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.7264, allocations: 37.7 kB / 0.8605 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7266, allocations: 346.8 kB / 0.8608 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7267, allocations: 59.89 kB / 0.8609 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.727, allocations: 192.7 kB / 0.8611 GB, free: 492 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.7273, allocations: 180.5 kB / 0.8612 GB, free: 296 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7273, allocations: 0 / 0.8612 GB, free: 296 kB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00041/0.7277, allocations: 218.7 kB / 0.8614 GB, free: 72 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7277, allocations: 8 kB / 0.8615 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7277, allocations: 0 / 0.8615 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7277, allocations: 4 kB / 0.8615 GB, free: 60 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.7279, allocations: 36.08 kB / 0.8615 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.7279, allocations: 8 kB / 0.8615 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.7281, allocations: 23.86 kB / 0.8615 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.7281, allocations: 12 kB / 0.8615 GB, free: 15.98 MB / 0.6387 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.0001485/0.7283, allocations: 153.6 kB / 0.8617 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.7283, allocations: 31.81 kB / 0.8617 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/0.7288, allocations: 201.2 kB / 0.8619 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.7288, allocations: 7.938 kB / 0.8619 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.7288, allocations: 4 kB / 0.8619 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7288, allocations: 3.984 kB / 0.8619 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.7298, allocations: 0.6396 MB / 0.8625 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.7298, allocations: 0 / 0.8625 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.7299, allocations: 36.14 kB / 0.8626 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.7299, allocations: 7.938 kB / 0.8626 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.7299, allocations: 0 / 0.8626 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.7299, allocations: 4 kB / 0.8626 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7299, allocations: 4 kB / 0.8626 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.7304, allocations: 338.4 kB / 0.8629 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.842e-05/0.7305, allocations: 43.8 kB / 0.863 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.7305, allocations: 7.938 kB / 0.863 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.7307, allocations: 11.98 kB / 0.863 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.7307, allocations: 15.92 kB / 0.863 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.7307, allocations: 8 kB / 0.863 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002221/0.731, allocations: 223 kB / 0.8632 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.731, allocations: 0 / 0.8632 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003598/0.7313, allocations: 75.83 kB / 0.8633 GB, free: 14.07 MB / 0.6387 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.0009105/0.7322, allocations: 0.9093 MB / 0.8642 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003974/0.7326, allocations: 154.3 kB / 0.8643 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7326, allocations: 320 / 0.8643 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.7328, allocations: 87.83 kB / 0.8644 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.7336, allocations: 144.5 kB / 0.8645 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.737, allocations: 2.815 MB / 0.8673 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.7372, allocations: 175.8 kB / 0.8675 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.7374, allocations: 58.94 kB / 0.8675 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.7375, allocations: 91.41 kB / 0.8676 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.7375, allocations: 0 / 0.8676 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03707/0.7746, allocations: 9.189 MB / 0.8766 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.08, allocations: 8.953 kB / 0.8766 GB, free: 0.5195 MB / 0.6387 GB " [Timeout remaining time 648] (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: 15.711619397159666] Failed to read output from testmodel.py, exit status != 0: 12.18805275997147 12.213875557 11.490010858 Calling exit ...