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.001685/0.001685, allocations: 74.5 kB / 19.17 MB, free: 2.512 MB / 14.72 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.001572/0.001572, allocations: 172.5 kB / 22.46 MB, free: 5.383 MB / 14.72 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.444/1.444, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.239/1.239, allocations: 154.7 MB / 413.9 MB, free: 5.148 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.6188 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.304e-05, allocations: 4.953 kB / 0.6188 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02616/0.02618, allocations: 21.45 MB / 0.6397 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008481/0.03466, allocations: 4.753 MB / 0.6444 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008485/0.03551, allocations: 35.69 kB / 0.6444 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.03641, allocations: 286 kB / 0.6447 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.03863, allocations: 0.8276 MB / 0.6455 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.04087, allocations: 0.8289 MB / 0.6463 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.04312, allocations: 1.613 MB / 0.6479 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007175/0.04384, allocations: 398 kB / 0.6483 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.04612, allocations: 0.918 MB / 0.6491 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006797/0.0468, allocations: 394.8 kB / 0.6495 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.04689, allocations: 44 kB / 0.6496 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.04796, allocations: 419 kB / 0.65 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.04815, allocations: 151.4 kB / 0.6501 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.04846, allocations: 215.5 kB / 0.6503 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.04997, allocations: 0.9581 MB / 0.6513 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.04998, allocations: 4 kB / 0.6513 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.04998, allocations: 0 / 0.6513 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.04999, allocations: 0 / 0.6513 GB, free: 3.156 MB / 0.5606 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.001474/0.05146, allocations: 0.8314 MB / 0.6521 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.05151, allocations: 12.03 kB / 0.6521 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.05174, allocations: 64.56 kB / 0.6521 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.05278, allocations: 0.5108 MB / 0.6526 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.05281, allocations: 29.38 kB / 0.6527 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.279e-05/0.05288, allocations: 40.31 kB / 0.6527 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.05365, allocations: 0.5056 MB / 0.6532 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.05367, allocations: 4 kB / 0.6532 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.05372, allocations: 16 kB / 0.6532 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.05374, allocations: 8 kB / 0.6532 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.05427, allocations: 315.8 kB / 0.6535 GB, free: 0.7383 MB / 0.5606 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.002599/0.05687, allocations: 1.443 MB / 0.6549 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.05741, allocations: 239.6 kB / 0.6552 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.0576, allocations: 120.8 kB / 0.6553 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005119/0.05811, allocations: 99.89 kB / 0.6554 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.05815, allocations: 34.56 kB / 0.6554 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.05815, allocations: 4 kB / 0.6554 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0007344/0.05889, allocations: 364.7 kB / 0.6558 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.05895, allocations: 55.41 kB / 0.6558 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.05947, allocations: 401.9 kB / 0.6562 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.05951, allocations: 33.64 kB / 0.6562 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.05976, allocations: 276.4 kB / 0.6565 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.287e-05/0.05985, allocations: 99.22 kB / 0.6566 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.05998, allocations: 73.97 kB / 0.6567 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.06017, allocations: 354.7 kB / 0.657 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.06034, allocations: 96.61 kB / 0.6571 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.06065, allocations: 250.1 kB / 0.6573 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.06111, allocations: 287.2 kB / 0.6576 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.06111, allocations: 0 / 0.6576 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006233/0.06174, allocations: 357.2 kB / 0.6579 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.06176, allocations: 10.34 kB / 0.6579 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.06177, allocations: 0 / 0.6579 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.06179, allocations: 7.938 kB / 0.658 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.06206, allocations: 75.84 kB / 0.658 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.06207, allocations: 4 kB / 0.658 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.06231, allocations: 31.77 kB / 0.6581 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.06235, allocations: 16 kB / 0.6581 GB, free: 11.89 MB / 0.5762 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.0002329/0.06258, allocations: 185.8 kB / 0.6583 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.06268, allocations: 47.72 kB / 0.6583 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/0.06354, allocations: 471 kB / 0.6588 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.06355, allocations: 4 kB / 0.6588 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.06355, allocations: 4 kB / 0.6588 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006721/0.06423, allocations: 0.5838 MB / 0.6593 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.06595, allocations: 0.9593 MB / 0.6603 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.06595, allocations: 48 / 0.6603 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.06618, allocations: 51.95 kB / 0.6603 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.06618, allocations: 8.188 kB / 0.6603 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.06621, allocations: 11.94 kB / 0.6603 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.06622, allocations: 11.94 kB / 0.6603 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.06622, allocations: 0 / 0.6603 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009964/0.06722, allocations: 0.6652 MB / 0.661 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.06739, allocations: 95.53 kB / 0.6611 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.06746, allocations: 11.94 kB / 0.6611 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.06771, allocations: 11.98 kB / 0.6611 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.06785, allocations: 23.97 kB / 0.6611 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.06788, allocations: 15.98 kB / 0.6611 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003542/0.06824, allocations: 287.1 kB / 0.6614 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.06824, allocations: 0 / 0.6614 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006585/0.06889, allocations: 207.5 kB / 0.6616 GB, free: 8.09 MB / 0.5762 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.0005187/0.06941, allocations: 274.7 kB / 0.6619 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.06992, allocations: 292.2 kB / 0.6622 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.06992, allocations: 0 / 0.6622 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.07016, allocations: 155.8 kB / 0.6623 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.07135, allocations: 256.1 kB / 0.6626 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.07306, allocations: 0.9836 MB / 0.6635 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.07335, allocations: 266.2 kB / 0.6638 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.07365, allocations: 104.2 kB / 0.6639 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.07377, allocations: 56.47 kB / 0.6639 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.07377, allocations: 0 / 0.6639 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of Templates: time 0.01983/0.0936, allocations: 10.77 MB / 0.6744 GB, free: 11.16 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.241138989105821] Failed to read output from testmodel.py, exit status != 0: 0.1021280586719513 0.116763827 0.063635708 Calling exit ...