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.00091/0.00091, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.0009424/0.0009424, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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.921/0.921, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.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-545:108: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-545:116: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.7811/0.7811, allocations: 154.6 MB / 414.5 MB, free: 0.6562 MB / 378.7 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 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: 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.803e-06/1.803e-06, allocations: 0 / 0.5203 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.413e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.00997/0.009994, allocations: 8.746 MB / 0.5289 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003945/0.01394, allocations: 3.315 MB / 0.5321 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.01425, allocations: 35.69 kB / 0.5322 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.01456, allocations: 186.5 kB / 0.5323 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008563/0.01542, allocations: 0.6669 MB / 0.533 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008561/0.01627, allocations: 0.665 MB / 0.5336 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.01747, allocations: 1.628 MB / 0.5352 GB, free: 3 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.01788, allocations: 409.3 kB / 0.5356 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008571/0.01874, allocations: 0.7766 MB / 0.5364 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.01912, allocations: 407.6 kB / 0.5368 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/0.01917, allocations: 48 kB / 0.5368 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.01951, allocations: 267.4 kB / 0.5371 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.01963, allocations: 147.9 kB / 0.5372 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.01977, allocations: 212.6 kB / 0.5374 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006318/0.02041, allocations: 0.619 MB / 0.538 GB, free: 160 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.02041, allocations: 0 / 0.538 GB, free: 160 kB / 0.4948 GB Notification: Performance of FrontEnd: time 8.02e-07/0.02041, allocations: 0.8125 kB / 0.538 GB, free: 160 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.02042, allocations: 4 kB / 0.538 GB, free: 156 kB / 0.4948 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.0008808/0.0213, allocations: 0.9018 MB / 0.5389 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.02133, allocations: 8.562 kB / 0.5389 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.02153, allocations: 110 kB / 0.539 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.02203, allocations: 482.4 kB / 0.5395 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.02206, allocations: 33.38 kB / 0.5395 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.02228, allocations: 42.69 kB / 0.5395 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.02272, allocations: 423.9 kB / 0.5399 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.02273, allocations: 0 / 0.5399 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.02275, allocations: 23.88 kB / 0.54 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.02278, allocations: 12 kB / 0.54 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.02301, allocations: 158.9 kB / 0.5401 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.02455, allocations: 1.593 MB / 0.5417 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.02483, allocations: 160.4 kB / 0.5418 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.077e-05/0.02491, allocations: 63.64 kB / 0.5419 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.02509, allocations: 73.91 kB / 0.542 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.02511, allocations: 37.39 kB / 0.542 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.02511, allocations: 3.938 kB / 0.542 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.0003494/0.02546, allocations: 242.4 kB / 0.5422 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.02548, allocations: 55.41 kB / 0.5423 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.02576, allocations: 418.7 kB / 0.5427 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.02578, allocations: 34.2 kB / 0.5427 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.02592, allocations: 322 kB / 0.543 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.02597, allocations: 99.17 kB / 0.5431 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.02604, allocations: 79.62 kB / 0.5432 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.02617, allocations: 0.5235 MB / 0.5437 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.02624, allocations: 44.62 kB / 0.5438 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.02638, allocations: 219.8 kB / 0.544 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.02657, allocations: 187.6 kB / 0.5441 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.02657, allocations: 0 / 0.5441 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002825/0.02686, allocations: 272.6 kB / 0.5444 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.02687, allocations: 8 kB / 0.5444 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.02687, allocations: 1.969 kB / 0.5444 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.02688, allocations: 4 kB / 0.5444 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.02703, allocations: 67.91 kB / 0.5445 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.02703, allocations: 7.938 kB / 0.5445 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.02714, allocations: 39.8 kB / 0.5445 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.02716, allocations: 13.59 kB / 0.5445 GB, free: 9.145 MB / 0.5105 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.0002431/0.02741, allocations: 180.5 kB / 0.5447 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.02746, allocations: 51.72 kB / 0.5448 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.02784, allocations: 329.5 kB / 0.5451 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.02785, allocations: 4 kB / 0.5451 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.02785, allocations: 3.938 kB / 0.5451 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002653/0.02811, allocations: 452.2 kB / 0.5455 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008341/0.02895, allocations: 0.8371 MB / 0.5463 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02895, allocations: 4 kB / 0.5463 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.02907, allocations: 52.59 kB / 0.5464 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.02907, allocations: 1.375 kB / 0.5464 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.02909, allocations: 19.92 kB / 0.5464 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.02909, allocations: 0 / 0.5464 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.0291, allocations: 4 kB / 0.5464 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.02952, allocations: 0.4989 MB / 0.5469 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.02961, allocations: 79.61 kB / 0.547 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.02964, allocations: 19.92 kB / 0.547 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.02976, allocations: 8 kB / 0.547 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.02979, allocations: 27.89 kB / 0.547 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.0298, allocations: 13.72 kB / 0.547 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001691/0.02997, allocations: 283 kB / 0.5473 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02997, allocations: 0 / 0.5473 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003442/0.03032, allocations: 191.5 kB / 0.5475 GB, free: 5.938 MB / 0.5105 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0002372/0.03055, allocations: 199.2 kB / 0.5477 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.03079, allocations: 195.7 kB / 0.5479 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.03079, allocations: 0 / 0.5479 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.0309, allocations: 100.8 kB / 0.548 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.03154, allocations: 272 kB / 0.5482 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.03263, allocations: 0.9181 MB / 0.5491 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.594e-05/0.03271, allocations: 134.2 kB / 0.5492 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.03291, allocations: 103.5 kB / 0.5493 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.03298, allocations: 49.61 kB / 0.5494 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.03298, allocations: 0 / 0.5494 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.01239/0.04538, allocations: 10.93 MB / 0.5601 GB, free: 9.344 MB / 0.5261 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.972333174198866]