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.001205/0.001205, allocations: 109.3 kB / 18.93 MB, free: 1.273 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.001678/0.001678, allocations: 218.2 kB / 22.25 MB, free: 3.699 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.03/1.03, allocations: 230.6 MB / 256 MB, free: 9.789 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.8512/0.8512, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001494/0.001494, allocations: 70.27 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6033/0.6048, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02066/0.6254, allocations: 23.8 MB / 0.8411 GB, free: 348 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006998/0.6324, allocations: 5.136 MB / 0.8461 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.6336, allocations: 35.84 kB / 0.8462 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.6345, allocations: 290.3 kB / 0.8464 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.6377, allocations: 0.8367 MB / 0.8473 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.6397, allocations: 0.8338 MB / 0.8481 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.6418, allocations: 1.661 MB / 0.8497 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000685/0.6424, allocations: 394.1 kB / 0.8501 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.644, allocations: 0.7385 MB / 0.8508 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005548/0.6445, allocations: 473 kB / 0.8512 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/0.6446, allocations: 45.91 kB / 0.8513 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.6458, allocations: 0.5286 MB / 0.8518 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.6459, allocations: 148 kB / 0.8519 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.6462, allocations: 309.9 kB / 0.8522 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.6479, allocations: 0.9502 MB / 0.8532 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6479, allocations: 0 / 0.8532 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.846e-06/0.6479, allocations: 0 / 0.8532 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.6479, allocations: 1.344 kB / 0.8532 GB, free: 8.27 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.00147/0.6493, allocations: 0.8355 MB / 0.854 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.182e-05/0.6494, allocations: 12.97 kB / 0.854 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.305e-05/0.6495, allocations: 75.88 kB / 0.8541 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/0.6498, allocations: 71.83 kB / 0.8541 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.651, allocations: 0.5082 MB / 0.8546 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.651, allocations: 40.77 kB / 0.8547 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/0.6511, allocations: 38.25 kB / 0.8547 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/0.6517, allocations: 432.2 kB / 0.8551 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.6517, allocations: 3.938 kB / 0.8551 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.6517, allocations: 17.09 kB / 0.8551 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.6518, allocations: 12.95 kB / 0.8552 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.6522, allocations: 305.2 kB / 0.8554 GB, free: 6.613 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.001976/0.6542, allocations: 1.778 MB / 0.8572 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.6546, allocations: 246.5 kB / 0.8574 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.6547, allocations: 111.5 kB / 0.8575 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/0.6551, allocations: 104.5 kB / 0.8576 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.6551, allocations: 35.94 kB / 0.8577 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 3.396e-06/0.6551, allocations: 5.375 kB / 0.8577 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.0006173/0.6557, allocations: 382.7 kB / 0.858 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.6558, allocations: 58.45 kB / 0.8581 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.6562, allocations: 476 kB / 0.8585 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.6563, allocations: 30.92 kB / 0.8586 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.6564, allocations: 260.1 kB / 0.8588 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.6565, allocations: 96.27 kB / 0.8589 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.6566, allocations: 74.16 kB / 0.859 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6567, allocations: 362 kB / 0.8593 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.6568, allocations: 94.39 kB / 0.8594 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.657, allocations: 170 kB / 0.8596 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.6573, allocations: 285 kB / 0.8598 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6573, allocations: 1.094 kB / 0.8599 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004526/0.6577, allocations: 370.4 kB / 0.8602 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.6578, allocations: 6.188 kB / 0.8602 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6578, allocations: 1.688 kB / 0.8602 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.6578, allocations: 11.75 kB / 0.8602 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.658, allocations: 72.06 kB / 0.8603 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.658, allocations: 3.469 kB / 0.8603 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.6582, allocations: 45.39 kB / 0.8603 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.6582, allocations: 17.06 kB / 0.8604 GB, free: 2.918 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.0001832/0.6584, allocations: 177.6 kB / 0.8605 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.6585, allocations: 52.2 kB / 0.8606 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/0.6592, allocations: 492.7 kB / 0.861 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.6592, allocations: 7.125 kB / 0.861 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6592, allocations: 1.062 kB / 0.8611 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004586/0.6596, allocations: 0.5722 MB / 0.8616 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.661, allocations: 1.064 MB / 0.8626 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.661, allocations: 3.188 kB / 0.8627 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.6611, allocations: 53.84 kB / 0.8627 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.6611, allocations: 3.281 kB / 0.8627 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.6612, allocations: 9.281 kB / 0.8627 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.6612, allocations: 2.562 kB / 0.8627 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6612, allocations: 2.094 kB / 0.8627 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.6619, allocations: 0.6923 MB / 0.8634 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.6621, allocations: 101.8 kB / 0.8635 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.6622, allocations: 12.34 kB / 0.8635 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.6624, allocations: 11.95 kB / 0.8635 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.6624, allocations: 25.2 kB / 0.8635 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.6624, allocations: 15.03 kB / 0.8636 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004023/0.6628, allocations: 349.4 kB / 0.8639 GB, free: 408 kB / 0.6355 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6628, allocations: 0 / 0.8639 GB, free: 408 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007537/0.6636, allocations: 199.6 kB / 0.8641 GB, free: 360 kB / 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.001749/0.6653, allocations: 1.392 MB / 0.8654 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.6659, allocations: 283.3 kB / 0.8657 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6659, allocations: 1.125 kB / 0.8657 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.6661, allocations: 155.5 kB / 0.8659 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009993/0.6671, allocations: 340.8 kB / 0.8662 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.6722, allocations: 4.227 MB / 0.8703 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006534/0.6729, allocations: 0.8637 MB / 0.8712 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005609/0.6734, allocations: 121.3 kB / 0.8713 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.6737, allocations: 190.2 kB / 0.8714 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.754e-06/0.6737, allocations: 3.938 kB / 0.8715 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.039/0.7126, allocations: 17.36 MB / 0.8884 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.899, allocations: 18.16 kB / 0.8884 GB, free: 13.23 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: 11.183287040097639] Failed to read output from testmodel.py, exit status != 0: 7.987596506020054 7.996882854 7.347066628 Calling exit ...