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.0007517/0.0007517, allocations: 105.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.001416/0.001416, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9815/0.9815, allocations: 230.6 MB / 256 MB, free: 9.59 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.7884/0.7884, allocations: 203.5 MB / 0.5039 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 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.0009546/0.0009546, allocations: 66.77 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.5435, allocations: 102 MB / 0.8174 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01965/0.5631, allocations: 21.63 MB / 0.8385 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006107/0.5692, allocations: 4.745 MB / 0.8432 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004866/0.5697, allocations: 39.97 kB / 0.8432 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007178/0.5704, allocations: 283.7 kB / 0.8435 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.5721, allocations: 0.8341 MB / 0.8443 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.5734, allocations: 0.7917 MB / 0.8451 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.5748, allocations: 1.646 MB / 0.8467 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.5752, allocations: 397.1 kB / 0.847 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.5763, allocations: 0.7543 MB / 0.8478 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.5767, allocations: 440.2 kB / 0.8482 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.5767, allocations: 47.19 kB / 0.8482 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006005/0.5773, allocations: 410.6 kB / 0.8486 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.5774, allocations: 147.6 kB / 0.8488 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.5777, allocations: 259.7 kB / 0.849 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000898/0.5786, allocations: 0.9347 MB / 0.8499 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5786, allocations: 0 / 0.8499 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5786, allocations: 0 / 0.8499 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.5786, allocations: 0 / 0.8499 GB, free: 11.29 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.0009202/0.5795, allocations: 0.8332 MB / 0.8507 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5795, allocations: 9.344 kB / 0.8508 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.586e-05/0.5796, allocations: 75.25 kB / 0.8508 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.5797, allocations: 71.69 kB / 0.8509 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.5804, allocations: 0.5124 MB / 0.8514 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.5805, allocations: 33.38 kB / 0.8514 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.5805, allocations: 41.66 kB / 0.8515 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.581, allocations: 0.5025 MB / 0.852 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.581, allocations: 1 kB / 0.852 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.5811, allocations: 16.16 kB / 0.852 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.5811, allocations: 10.03 kB / 0.852 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.5815, allocations: 306.7 kB / 0.8523 GB, free: 9.555 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.001653/0.5831, allocations: 1.521 MB / 0.8538 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.5835, allocations: 247 kB / 0.854 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.5836, allocations: 112.4 kB / 0.8541 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.5839, allocations: 106.1 kB / 0.8542 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.5839, allocations: 35.75 kB / 0.8542 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 1.462e-06/0.5839, allocations: 1.375 kB / 0.8542 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.0004874/0.5844, allocations: 382.8 kB / 0.8546 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.5844, allocations: 54.16 kB / 0.8547 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.5848, allocations: 493.1 kB / 0.8551 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.5848, allocations: 30.83 kB / 0.8552 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.585, allocations: 260.4 kB / 0.8554 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.585, allocations: 99.14 kB / 0.8555 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.5851, allocations: 75.22 kB / 0.8556 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5852, allocations: 354.2 kB / 0.8559 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.5853, allocations: 98.88 kB / 0.856 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.5855, allocations: 248.2 kB / 0.8562 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.5858, allocations: 282.6 kB / 0.8565 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5858, allocations: 1.062 kB / 0.8565 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004099/0.5862, allocations: 366.7 kB / 0.8569 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5862, allocations: 5.5 kB / 0.8569 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5862, allocations: 10.16 kB / 0.8569 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5863, allocations: 8.188 kB / 0.8569 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.5864, allocations: 71.62 kB / 0.857 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.5864, allocations: 4.094 kB / 0.857 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.5866, allocations: 38.62 kB / 0.857 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.5866, allocations: 14.91 kB / 0.857 GB, free: 6.062 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.0002012/0.5868, allocations: 178.1 kB / 0.8572 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.5869, allocations: 56.03 kB / 0.8572 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/0.5874, allocations: 478.6 kB / 0.8577 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5875, allocations: 8.469 kB / 0.8577 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5875, allocations: 0 / 0.8577 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004217/0.5879, allocations: 0.5774 MB / 0.8583 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.589, allocations: 1.011 MB / 0.8592 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.589, allocations: 1.375 kB / 0.8592 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.5892, allocations: 55.19 kB / 0.8593 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5892, allocations: 2.625 kB / 0.8593 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.5892, allocations: 17.3 kB / 0.8593 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5892, allocations: 6.875 kB / 0.8593 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5892, allocations: 2.75 kB / 0.8593 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007022/0.5899, allocations: 0.6882 MB / 0.86 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.59, allocations: 98.45 kB / 0.8601 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.5901, allocations: 6.359 kB / 0.8601 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.5902, allocations: 13.83 kB / 0.8601 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.5902, allocations: 29.89 kB / 0.8601 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.5902, allocations: 15.08 kB / 0.8602 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002764/0.5905, allocations: 344.1 kB / 0.8605 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.5905, allocations: 1.406 kB / 0.8605 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004494/0.591, allocations: 211.4 kB / 0.8607 GB, free: 3.547 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.00121/0.5922, allocations: 1.387 MB / 0.862 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.5926, allocations: 285 kB / 0.8623 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5926, allocations: 4.125 kB / 0.8623 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.5928, allocations: 146.9 kB / 0.8625 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009077/0.5937, allocations: 341.6 kB / 0.8628 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.5978, allocations: 4.221 MB / 0.8669 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.598, allocations: 267.7 kB / 0.8672 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000252/0.5982, allocations: 125.3 kB / 0.8673 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.5984, allocations: 190 kB / 0.8675 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of SimCode: time 8.11e-07/0.5984, allocations: 0.9062 kB / 0.8675 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.6305, allocations: 18.76 MB / 0.8858 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/7.566, allocations: 0 / 0.8858 GB, free: 15.68 MB / 0.6667 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.511371165979654] Failed to read output from testmodel.py, exit status != 0: 7.654641724657267 7.662912219 7.082407076 Calling exit ...