Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008078/0.0008078, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008746/0.0008746, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9356/0.9356, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7625/0.7625, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.HeatMeter,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_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.0009064/0.0009064, allocations: 69.69 kB / 0.7178 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5452, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01843/0.5637, allocations: 21.63 MB / 0.8385 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006241/0.5699, allocations: 4.755 MB / 0.8432 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006153/0.5705, allocations: 35.97 kB / 0.8432 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007441/0.5713, allocations: 279.8 kB / 0.8435 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.573, allocations: 0.8335 MB / 0.8443 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.5745, allocations: 0.8015 MB / 0.8451 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.5759, allocations: 1.639 MB / 0.8467 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.5764, allocations: 392.9 kB / 0.847 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.5776, allocations: 0.7489 MB / 0.8478 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.5781, allocations: 444.1 kB / 0.8482 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.536e-05/0.5781, allocations: 46.09 kB / 0.8482 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007631/0.5789, allocations: 415.3 kB / 0.8486 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.5791, allocations: 148 kB / 0.8488 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.5793, allocations: 255.7 kB / 0.849 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009979/0.5803, allocations: 0.9381 MB / 0.8499 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.5803, allocations: 0 / 0.8499 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5803, allocations: 0 / 0.8499 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.5803, allocations: 1.156 kB / 0.8499 GB, free: 11.25 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.001075/0.5814, allocations: 0.8355 MB / 0.8508 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.5814, allocations: 10.72 kB / 0.8508 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.425e-05/0.5815, allocations: 74.81 kB / 0.8508 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.5817, allocations: 71.34 kB / 0.8509 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.5825, allocations: 0.5083 MB / 0.8514 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.5825, allocations: 29.16 kB / 0.8514 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.5826, allocations: 42.53 kB / 0.8515 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.5832, allocations: 0.5023 MB / 0.852 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5833, allocations: 1.344 kB / 0.852 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.5833, allocations: 23.95 kB / 0.852 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.5833, allocations: 10 kB / 0.852 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.5837, allocations: 301.9 kB / 0.8523 GB, free: 9.516 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.001793/0.5855, allocations: 1.518 MB / 0.8538 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.5859, allocations: 244.9 kB / 0.854 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.5861, allocations: 116 kB / 0.8541 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.5863, allocations: 109.3 kB / 0.8542 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.5864, allocations: 36.84 kB / 0.8542 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.5864, allocations: 0 / 0.8542 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.000609/0.587, allocations: 383.6 kB / 0.8546 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.587, allocations: 53.59 kB / 0.8547 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.5874, allocations: 486.2 kB / 0.8551 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.5874, allocations: 30.86 kB / 0.8552 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.5876, allocations: 257.2 kB / 0.8554 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.5877, allocations: 98.17 kB / 0.8555 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.5877, allocations: 78.75 kB / 0.8556 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5878, allocations: 355 kB / 0.8559 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.588, allocations: 102.8 kB / 0.856 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.5882, allocations: 248.3 kB / 0.8562 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.5885, allocations: 278.7 kB / 0.8565 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5885, allocations: 4 kB / 0.8565 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000412/0.5889, allocations: 371.3 kB / 0.8569 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5889, allocations: 5.188 kB / 0.8569 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5889, allocations: 2.031 kB / 0.8569 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.589, allocations: 8.094 kB / 0.8569 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.5891, allocations: 71.88 kB / 0.8569 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.5891, allocations: 3.469 kB / 0.857 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.5893, allocations: 42.19 kB / 0.857 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.5893, allocations: 15.69 kB / 0.857 GB, free: 6.027 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.0001455/0.5895, allocations: 183.1 kB / 0.8572 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.5895, allocations: 52.27 kB / 0.8572 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005889/0.5901, allocations: 486 kB / 0.8577 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.5901, allocations: 11.66 kB / 0.8577 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5901, allocations: 1.219 kB / 0.8577 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000405/0.5905, allocations: 0.5739 MB / 0.8583 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5917, allocations: 1.014 MB / 0.8593 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5917, allocations: 2.844 kB / 0.8593 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.5918, allocations: 54.34 kB / 0.8593 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.5918, allocations: 2.75 kB / 0.8593 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.5918, allocations: 13.73 kB / 0.8593 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5919, allocations: 2.656 kB / 0.8593 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5919, allocations: 1.5 kB / 0.8593 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.5927, allocations: 0.6845 MB / 0.86 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.5928, allocations: 98.39 kB / 0.8601 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.5928, allocations: 12 kB / 0.8601 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.593, allocations: 8.188 kB / 0.8601 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.593, allocations: 30.23 kB / 0.8601 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.593, allocations: 14.48 kB / 0.8602 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003004/0.5933, allocations: 345.6 kB / 0.8605 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5933, allocations: 0 / 0.8605 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004941/0.5938, allocations: 207.1 kB / 0.8607 GB, free: 3.516 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.001118/0.5949, allocations: 1.391 MB / 0.862 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.5953, allocations: 289 kB / 0.8623 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5953, allocations: 0 / 0.8623 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.5955, allocations: 147 kB / 0.8625 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009691/0.5964, allocations: 339.7 kB / 0.8628 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.6004, allocations: 4.223 MB / 0.8669 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.6006, allocations: 267.9 kB / 0.8672 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003047/0.6009, allocations: 121 kB / 0.8673 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.6011, allocations: 186.3 kB / 0.8675 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/0.6011, allocations: 0 / 0.8675 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.6329, allocations: 18.77 MB / 0.8858 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/7.304, allocations: 10.23 kB / 0.8858 GB, free: 15.64 MB / 0.6667 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_HeatMeter.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.306950122117996] Failed to read output from testmodel.py, exit status != 0: 7.392882518004626 7.407259629 6.824284452 Calling exit ...