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.001567/0.001567, allocations: 92.7 kB / 19.44 MB, free: 324 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.001874/0.001874, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.22/1.22, allocations: 154.8 MB / 414.4 MB, free: 452 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.7656 kB / 0.5199 GB, free: 1.211 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.784e-05/3.941e-05, allocations: 5.859 kB / 0.5199 GB, free: 1.207 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02987/0.02991, allocations: 21.47 MB / 0.5408 GB, free: 11.74 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.04042, allocations: 4.76 MB / 0.5455 GB, free: 6.996 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.04178, allocations: 35.69 kB / 0.5455 GB, free: 6.961 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.04312, allocations: 287.4 kB / 0.5458 GB, free: 6.68 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.04651, allocations: 0.8578 MB / 0.5466 GB, free: 5.824 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.04934, allocations: 0.8219 MB / 0.5474 GB, free: 5.004 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003749/0.05309, allocations: 1.659 MB / 0.549 GB, free: 3.336 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.05443, allocations: 408.3 kB / 0.5494 GB, free: 2.934 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.05855, allocations: 0.9425 MB / 0.5504 GB, free: 2 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.05969, allocations: 398.7 kB / 0.5507 GB, free: 1.609 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.05984, allocations: 48.84 kB / 0.5508 GB, free: 1.562 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.06127, allocations: 422.9 kB / 0.5512 GB, free: 1.148 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.06152, allocations: 152.4 kB / 0.5513 GB, free: 1 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.06202, allocations: 215.5 kB / 0.5515 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.0641, allocations: 0.9541 MB / 0.5525 GB, free: 15.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.0641, allocations: 1.219 kB / 0.5525 GB, free: 15.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.06411, allocations: 0 / 0.5525 GB, free: 15.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.06412, allocations: 0 / 0.5525 GB, free: 15.83 MB / 490.7 MB 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.001683/0.0658, allocations: 0.8257 MB / 0.5533 GB, free: 14.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.06585, allocations: 8.031 kB / 0.5533 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/0.06623, allocations: 109.6 kB / 0.5534 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.06748, allocations: 0.5402 MB / 0.5539 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.06752, allocations: 29.38 kB / 0.5539 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.544e-05/0.06762, allocations: 50.14 kB / 0.554 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009751/0.06859, allocations: 0.5017 MB / 0.5545 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.06861, allocations: 4 kB / 0.5545 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.06866, allocations: 16 kB / 0.5545 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.06869, allocations: 8 kB / 0.5545 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005987/0.06929, allocations: 308.3 kB / 0.5548 GB, free: 13.36 MB / 490.7 MB 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.003139/0.07243, allocations: 1.451 MB / 0.5562 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.07305, allocations: 242.9 kB / 0.5565 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.07325, allocations: 112.8 kB / 0.5566 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005583/0.07381, allocations: 109.3 kB / 0.5567 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.07386, allocations: 40.03 kB / 0.5567 GB, free: 11.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 2.024e-06/0.07386, allocations: 0 / 0.5567 GB, free: 11.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.000876/0.07473, allocations: 377.1 kB / 0.5571 GB, free: 10.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.07479, allocations: 59.39 kB / 0.5571 GB, free: 10.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.07536, allocations: 394.6 kB / 0.5575 GB, free: 10.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.0754, allocations: 29.7 kB / 0.5575 GB, free: 10.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.0757, allocations: 277.6 kB / 0.5578 GB, free: 10.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.07584, allocations: 99.23 kB / 0.5579 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.07597, allocations: 70.02 kB / 0.5579 GB, free: 10.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.07621, allocations: 357.8 kB / 0.5583 GB, free: 9.688 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.0764, allocations: 96.59 kB / 0.5584 GB, free: 9.594 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.07676, allocations: 245.2 kB / 0.5586 GB, free: 9.312 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.07725, allocations: 277 kB / 0.5589 GB, free: 9.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.07725, allocations: 0 / 0.5589 GB, free: 9.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007876/0.07804, allocations: 379.4 kB / 0.5592 GB, free: 8.645 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.07806, allocations: 4 kB / 0.5592 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.07807, allocations: 7.984 kB / 0.5593 GB, free: 8.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.0781, allocations: 4 kB / 0.5593 GB, free: 8.629 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.07856, allocations: 77.02 kB / 0.5593 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.07857, allocations: 7.938 kB / 0.5593 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.07886, allocations: 28.72 kB / 0.5594 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.07891, allocations: 19.98 kB / 0.5594 GB, free: 8.5 MB / 490.7 MB 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.000271/0.07918, allocations: 180 kB / 0.5596 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.07929, allocations: 51.72 kB / 0.5596 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009626/0.08025, allocations: 471 kB / 0.5601 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.08028, allocations: 14.12 kB / 0.5601 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.08028, allocations: 3.984 kB / 0.5601 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007372/0.08102, allocations: 0.5724 MB / 0.5606 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.08305, allocations: 0.9546 MB / 0.5616 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.08306, allocations: 0 / 0.5616 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.08331, allocations: 52.92 kB / 0.5616 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.08332, allocations: 4 kB / 0.5616 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.08335, allocations: 16.67 kB / 0.5616 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.08336, allocations: 4 kB / 0.5616 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.08336, allocations: 4.688 kB / 0.5616 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.08454, allocations: 0.6857 MB / 0.5623 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.08478, allocations: 91.47 kB / 0.5624 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.08484, allocations: 11.94 kB / 0.5624 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.08511, allocations: 8 kB / 0.5624 GB, free: 5.227 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.08517, allocations: 32.03 kB / 0.5624 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.08522, allocations: 20.84 kB / 0.5625 GB, free: 5.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004725/0.08569, allocations: 279.2 kB / 0.5627 GB, free: 4.906 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08569, allocations: 0 / 0.5627 GB, free: 4.906 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0011/0.08679, allocations: 210 kB / 0.5629 GB, free: 4.703 MB / 490.7 MB 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.0007053/0.0875, allocations: 271.4 kB / 0.5632 GB, free: 4.441 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006268/0.08812, allocations: 285.9 kB / 0.5635 GB, free: 4.164 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.08813, allocations: 3.938 kB / 0.5635 GB, free: 4.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.08841, allocations: 156.5 kB / 0.5636 GB, free: 4.008 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.08978, allocations: 284.1 kB / 0.5639 GB, free: 3.754 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.09178, allocations: 0.9893 MB / 0.5649 GB, free: 2.738 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.09211, allocations: 262.2 kB / 0.5651 GB, free: 2.457 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004111/0.09252, allocations: 112.2 kB / 0.5652 GB, free: 2.344 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.09265, allocations: 44.48 kB / 0.5653 GB, free: 2.301 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/0.09266, allocations: 4 kB / 0.5653 GB, free: 2.297 MB / 490.7 MB Notification: Performance of Templates: time 0.02249/0.1151, allocations: 10.81 MB / 0.5758 GB, free: 7.754 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.343133143032901]