Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001307/0.001307, 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.001518/0.001518, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.43/1.43, 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.8399/0.8399, allocations: 134 MB / 446.4 MB, free: 9.895 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.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.002047/0.002047, allocations: 65.36 kB / 0.6185 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1777, allocations: 85.92 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.557/0.7347, allocations: 158.5 MB / 0.8572 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009555/0.7443, allocations: 7.205 MB / 0.8642 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005717/0.7448, allocations: 31.75 kB / 0.8642 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.7456, allocations: 250.2 kB / 0.8645 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.7491, allocations: 1.229 MB / 0.8657 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.7511, allocations: 0.7471 MB / 0.8664 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.7525, allocations: 1.099 MB / 0.8675 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005413/0.753, allocations: 322.4 kB / 0.8678 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.7554, allocations: 0.8588 MB / 0.8686 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.7561, allocations: 438.4 kB / 0.8691 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.7562, allocations: 40 kB / 0.8691 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.7577, allocations: 0.7948 MB / 0.8699 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.7579, allocations: 159.5 kB / 0.87 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.7581, allocations: 207 kB / 0.8702 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.7595, allocations: 0.9249 MB / 0.8711 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7595, allocations: 0 / 0.8711 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7595, allocations: 0 / 0.8711 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.7595, allocations: 0 / 0.8711 GB, free: 6.383 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001207/0.7607, allocations: 0.7536 MB / 0.8719 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.7608, allocations: 8.031 kB / 0.8719 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.7609, allocations: 82.09 kB / 0.8719 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009693/0.7619, allocations: 151.5 kB / 0.8721 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.7625, allocations: 336.4 kB / 0.8724 GB, free: 5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.7626, allocations: 29 kB / 0.8724 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.7626, allocations: 36 kB / 0.8725 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.7634, allocations: 454.3 kB / 0.8729 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.7634, allocations: 4 kB / 0.8729 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.7634, allocations: 12 kB / 0.8729 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.7634, allocations: 15.98 kB / 0.8729 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.7641, allocations: 319.7 kB / 0.8732 GB, free: 4.125 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.002125/0.7662, allocations: 1.485 MB / 0.8747 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.7666, allocations: 226.4 kB / 0.8749 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.7669, allocations: 140.2 kB / 0.875 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/0.7674, allocations: 87.84 kB / 0.8751 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.7674, allocations: 34.56 kB / 0.8752 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.7674, allocations: 0 / 0.8752 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.001066/0.7685, allocations: 457.4 kB / 0.8756 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.7685, allocations: 55.41 kB / 0.8756 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.769, allocations: 397.9 kB / 0.876 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.769, allocations: 37.7 kB / 0.8761 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.7692, allocations: 232.5 kB / 0.8763 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.7693, allocations: 91.2 kB / 0.8764 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.7694, allocations: 53.7 kB / 0.8764 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.7695, allocations: 350.7 kB / 0.8768 GB, free: 388 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.7698, allocations: 115.9 kB / 0.8769 GB, free: 272 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.7701, allocations: 259.9 kB / 0.8771 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.7706, allocations: 309.1 kB / 0.8774 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7707, allocations: 0 / 0.8774 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006447/0.7713, allocations: 369 kB / 0.8778 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.7713, allocations: 8 kB / 0.8778 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7713, allocations: 0 / 0.8778 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.7713, allocations: 4 kB / 0.8778 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.7716, allocations: 59.91 kB / 0.8778 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.7716, allocations: 7.984 kB / 0.8778 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.7719, allocations: 35.72 kB / 0.8779 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.7719, allocations: 20.11 kB / 0.8779 GB, free: 15.14 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 (31): * Single equations (assignments): 31 * 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.0001837/0.7721, allocations: 165.8 kB / 0.878 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.7722, allocations: 39.72 kB / 0.8781 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007298/0.7729, allocations: 375.8 kB / 0.8784 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7729, allocations: 4 kB / 0.8784 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7729, allocations: 0 / 0.8784 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7729, allocations: 3.938 kB / 0.8785 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.7744, allocations: 0.8795 MB / 0.8793 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7744, allocations: 3.938 kB / 0.8793 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.7747, allocations: 55.91 kB / 0.8794 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.7747, allocations: 0 / 0.8794 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.7747, allocations: 4 kB / 0.8794 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.7747, allocations: 7.938 kB / 0.8794 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7747, allocations: 8.219 kB / 0.8794 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009995/0.7757, allocations: 0.6336 MB / 0.88 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.7759, allocations: 71.62 kB / 0.8801 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.7759, allocations: 11.98 kB / 0.8801 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.7761, allocations: 4 kB / 0.8801 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.7762, allocations: 19.97 kB / 0.8801 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.7762, allocations: 12 kB / 0.8801 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003374/0.7766, allocations: 291.1 kB / 0.8804 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7766, allocations: 0 / 0.8804 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004663/0.777, allocations: 111.8 kB / 0.8805 GB, free: 12.36 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.00146/0.7785, allocations: 1.218 MB / 0.8817 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005916/0.7791, allocations: 283.5 kB / 0.882 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7791, allocations: 0 / 0.882 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.7793, allocations: 143.7 kB / 0.8821 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.7804, allocations: 227.8 kB / 0.8823 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/0.7853, allocations: 3.802 MB / 0.886 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.7856, allocations: 220.1 kB / 0.8862 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003304/0.7859, allocations: 103.4 kB / 0.8863 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.7861, allocations: 139.4 kB / 0.8865 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.7861, allocations: 0 / 0.8865 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/0.8314, allocations: 13.06 MB / 0.8992 GB, free: 9.301 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.43, allocations: 0 / 0.8992 GB, free: 9.301 MB / 0.67 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_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_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.034422140102834] Failed to read output from testmodel.py, exit status != 0: 12.541975474916399 12.568275322 11.804304093 Calling exit ...