Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.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.0007742/0.0007742, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.0009755/0.0009755, allocations: 212 kB / 22.25 MB, free: 3.578 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 0.9372/0.9372, allocations: 230.6 MB / 256 MB, free: 9.594 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.7659/0.7659, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.HeatMeter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter",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.0009288/0.0009288, allocations: 73.42 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5652/0.5662, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01964/0.5858, allocations: 21.63 MB / 0.8389 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007345/0.5931, allocations: 4.743 MB / 0.8436 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005713/0.5937, allocations: 45.5 kB / 0.8436 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008512/0.5946, allocations: 285 kB / 0.8439 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.5964, allocations: 0.8327 MB / 0.8447 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.598, allocations: 0.7898 MB / 0.8455 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.5996, allocations: 1.645 MB / 0.8471 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005173/0.6001, allocations: 393.3 kB / 0.8475 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.6017, allocations: 0.752 MB / 0.8482 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005292/0.6023, allocations: 445.3 kB / 0.8486 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.6023, allocations: 45.66 kB / 0.8487 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008121/0.6032, allocations: 412 kB / 0.849 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.6033, allocations: 147.4 kB / 0.8492 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.6036, allocations: 259 kB / 0.8494 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.6048, allocations: 0.9348 MB / 0.8503 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.6048, allocations: 0 / 0.8503 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.908e-06/0.6048, allocations: 0 / 0.8503 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.6048, allocations: 1.125 kB / 0.8503 GB, free: 10.96 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.00129/0.6061, allocations: 0.8346 MB / 0.8512 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.6062, allocations: 10.12 kB / 0.8512 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.906e-05/0.6062, allocations: 75.22 kB / 0.8512 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.6064, allocations: 74.61 kB / 0.8513 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000832/0.6073, allocations: 0.5094 MB / 0.8518 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.6073, allocations: 29.75 kB / 0.8518 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.6073, allocations: 42.34 kB / 0.8519 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.6079, allocations: 0.5067 MB / 0.8524 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.6079, allocations: 3.984 kB / 0.8524 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.608, allocations: 15.81 kB / 0.8524 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.608, allocations: 9.531 kB / 0.8524 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.6084, allocations: 298.9 kB / 0.8527 GB, free: 9.219 MB / 0.6355 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.001784/0.6101, allocations: 1.522 MB / 0.8542 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.6106, allocations: 248.8 kB / 0.8544 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.6107, allocations: 111.8 kB / 0.8545 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/0.611, allocations: 108.6 kB / 0.8546 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.611, allocations: 41.53 kB / 0.8547 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.611, allocations: 0 / 0.8547 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.0006668/0.6117, allocations: 382.6 kB / 0.855 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.6118, allocations: 55 kB / 0.8551 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.6122, allocations: 484.4 kB / 0.8555 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.6122, allocations: 32.14 kB / 0.8556 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.6124, allocations: 256.6 kB / 0.8558 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.6125, allocations: 98.77 kB / 0.8559 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.001e-05/0.6126, allocations: 74.28 kB / 0.856 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6127, allocations: 358.4 kB / 0.8563 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.6129, allocations: 95.2 kB / 0.8564 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.6131, allocations: 252.6 kB / 0.8567 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.6134, allocations: 274.2 kB / 0.8569 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6134, allocations: 1.125 kB / 0.8569 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004845/0.6139, allocations: 374.9 kB / 0.8573 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.6139, allocations: 5.438 kB / 0.8573 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6139, allocations: 6.812 kB / 0.8573 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.6139, allocations: 6.719 kB / 0.8573 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.6142, allocations: 77.39 kB / 0.8574 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.6142, allocations: 6.625 kB / 0.8574 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.6143, allocations: 33.58 kB / 0.8574 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.6144, allocations: 16.72 kB / 0.8574 GB, free: 5.727 MB / 0.6355 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 (39): * Single equations (assignments): 39 * 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.0002512/0.6146, allocations: 182.1 kB / 0.8576 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.6147, allocations: 55.48 kB / 0.8576 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/0.6153, allocations: 480.3 kB / 0.8581 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.6153, allocations: 8.125 kB / 0.8581 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6153, allocations: 0 / 0.8581 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004455/0.6158, allocations: 0.5811 MB / 0.8587 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.617, allocations: 1.006 MB / 0.8597 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.617, allocations: 1.125 kB / 0.8597 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.6171, allocations: 51.39 kB / 0.8597 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.6171, allocations: 3.938 kB / 0.8597 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.6171, allocations: 15.64 kB / 0.8597 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.6171, allocations: 8.219 kB / 0.8597 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6171, allocations: 5.312 kB / 0.8597 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.6178, allocations: 0.6819 MB / 0.8604 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.618, allocations: 100 kB / 0.8605 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.618, allocations: 8.25 kB / 0.8605 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.6181, allocations: 12.11 kB / 0.8605 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.6182, allocations: 26.41 kB / 0.8606 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.6182, allocations: 19.95 kB / 0.8606 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002955/0.6185, allocations: 348.5 kB / 0.8609 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.6185, allocations: 0 / 0.8609 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004588/0.619, allocations: 212 kB / 0.8611 GB, free: 3.207 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001177/0.6201, allocations: 1.392 MB / 0.8625 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.6205, allocations: 283.8 kB / 0.8627 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6205, allocations: 4.062 kB / 0.8627 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.6209, allocations: 156.2 kB / 0.8629 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009354/0.6218, allocations: 337.1 kB / 0.8632 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/0.6259, allocations: 4.212 MB / 0.8673 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.6261, allocations: 268.2 kB / 0.8676 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000261/0.6264, allocations: 116.6 kB / 0.8677 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.6266, allocations: 194.8 kB / 0.8679 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/0.6266, allocations: 0 / 0.8679 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.6575, allocations: 18.77 MB / 0.8862 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.513, allocations: 7.031 kB / 0.8862 GB, free: 15.2 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_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_HeatMeter.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.540571264922619] Failed to read output from testmodel.py, exit status != 0: 7.602183862123638 7.611548427 7.004925312 Calling exit ...