Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007024/0.0007024, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0007168/0.0007168, allocations: 221.7 kB / 22.26 MB, free: 3.691 MB / 13.93 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.02/1.02, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8157/0.8157, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_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.001245/0.001245, allocations: 71.73 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5784/0.5796, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1644/0.744, allocations: 171.2 MB / 0.9851 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00555/0.7495, allocations: 6.649 MB / 0.9916 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.7499, allocations: 19.81 kB / 0.9916 GB, free: 3.531 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.7503, allocations: 174.7 kB / 0.9917 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.752, allocations: 0.8869 MB / 0.9926 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.7527, allocations: 349.9 kB / 0.9929 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0005707/0.7533, allocations: 0.7329 MB / 0.9937 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.7536, allocations: 227.2 kB / 0.9939 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.7547, allocations: 0.7434 MB / 0.9946 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.7549, allocations: 271 kB / 0.9949 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.755, allocations: 24 kB / 0.9949 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.7554, allocations: 359.2 kB / 0.9952 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.7555, allocations: 107.5 kB / 0.9953 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.7557, allocations: 167.1 kB / 0.9955 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004934/0.7561, allocations: 474.2 kB / 0.9959 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7562, allocations: 3.938 kB / 0.9959 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7562, allocations: 0 / 0.9959 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.7562, allocations: 0 / 0.9959 GB, free: 15.04 MB / 0.7761 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.000681/0.7568, allocations: 0.5554 MB / 0.9965 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.7569, allocations: 11.97 kB / 0.9965 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.7569, allocations: 58.55 kB / 0.9966 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.7572, allocations: 67.66 kB / 0.9966 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.7576, allocations: 255.6 kB / 0.9969 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.7576, allocations: 24.59 kB / 0.9969 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.7577, allocations: 24 kB / 0.9969 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.758, allocations: 324.9 kB / 0.9972 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.758, allocations: 3.938 kB / 0.9972 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.7581, allocations: 12 kB / 0.9972 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.7581, allocations: 4 kB / 0.9972 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.7583, allocations: 205.5 kB / 0.9974 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.7596, allocations: 1.496 MB / 0.9989 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.7598, allocations: 110.5 kB / 0.999 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.7599, allocations: 84.8 kB / 0.9991 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.7601, allocations: 71.92 kB / 0.9992 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.7602, allocations: 34.56 kB / 0.9992 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.7602, allocations: 7.938 kB / 0.9992 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0004495/0.7606, allocations: 272 kB / 0.9995 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.7606, allocations: 55.41 kB / 0.9995 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.7609, allocations: 308.5 kB / 0.9998 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.7609, allocations: 25.7 kB / 0.9998 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.761, allocations: 196.2 kB / 1 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.761, allocations: 39.64 kB / 1 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.761, allocations: 45.66 kB / 1 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.7611, allocations: 330.8 kB / 1 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.7612, allocations: 59.95 kB / 1 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.7613, allocations: 123.4 kB / 1.001 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.7615, allocations: 183.1 kB / 1.001 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7615, allocations: 0 / 1.001 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002337/0.7618, allocations: 213.3 kB / 1.001 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7618, allocations: 4 kB / 1.001 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7618, allocations: 4 kB / 1.001 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7618, allocations: 0 / 1.001 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.7619, allocations: 44.08 kB / 1.001 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7619, allocations: 0 / 1.001 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.644e-05/0.762, allocations: 31.77 kB / 1.001 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.762, allocations: 8 kB / 1.001 GB, free: 9.488 MB / 0.7761 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.0001077/0.7621, allocations: 157.6 kB / 1.001 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.7622, allocations: 27.81 kB / 1.001 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.7624, allocations: 212.2 kB / 1.001 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7624, allocations: 4.047 kB / 1.001 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.7624, allocations: 3.984 kB / 1.001 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7624, allocations: 7.938 kB / 1.001 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.763, allocations: 0.6552 MB / 1.002 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.763, allocations: 4 kB / 1.002 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.7631, allocations: 27.92 kB / 1.002 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.7631, allocations: 4 kB / 1.002 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.7631, allocations: 3.938 kB / 1.002 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.7631, allocations: 7.984 kB / 1.002 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7631, allocations: 4.219 kB / 1.002 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.7634, allocations: 333.2 kB / 1.002 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.7635, allocations: 43.86 kB / 1.002 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.7635, allocations: 15.92 kB / 1.003 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.7636, allocations: 8 kB / 1.003 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.7636, allocations: 19.91 kB / 1.003 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.7636, allocations: 4 kB / 1.003 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001361/0.7637, allocations: 223.1 kB / 1.003 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.7637, allocations: 0 / 1.003 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002355/0.764, allocations: 79.81 kB / 1.003 GB, free: 7.543 MB / 0.7761 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.0005724/0.7646, allocations: 0.9054 MB / 1.004 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.7648, allocations: 159.5 kB / 1.004 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7648, allocations: 0 / 1.004 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.973e-05/0.7649, allocations: 84.58 kB / 1.004 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.7654, allocations: 144.4 kB / 1.004 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.7678, allocations: 2.807 MB / 1.007 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.7681, allocations: 0.7834 MB / 1.008 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.7682, allocations: 62.92 kB / 1.008 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.7683, allocations: 91.41 kB / 1.008 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.7683, allocations: 0 / 1.008 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.7901, allocations: 8.318 MB / 1.016 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/7.431, allocations: 6.391 kB / 1.016 GB, free: 10.16 MB / 0.7917 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.597089471062645] Failed to read output from testmodel.py, exit status != 0: 7.514176302822307 7.526610355 6.768572526 Calling exit ...