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.0007996/0.0007996, allocations: 76.45 kB / 19.9 MB, free: 12 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.0007997/0.0007997, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.907/0.907, allocations: 177.2 MB / 203.6 MB, free: 5.75 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-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.7233/0.7233, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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: 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.001256/0.001256, allocations: 67.91 kB / 0.6196 GB, free: 13.09 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.5059, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01636/0.5223, allocations: 21.54 MB / 0.7402 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006738/0.529, allocations: 4.755 MB / 0.7448 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.5301, allocations: 36.91 kB / 0.7448 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.531, allocations: 288 kB / 0.7451 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.533, allocations: 0.8327 MB / 0.7459 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.5349, allocations: 0.8197 MB / 0.7467 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002082/0.537, allocations: 1.623 MB / 0.7483 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006324/0.5376, allocations: 386.4 kB / 0.7487 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.5395, allocations: 0.9433 MB / 0.7496 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/0.5401, allocations: 445.5 kB / 0.75 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.5402, allocations: 45.72 kB / 0.7501 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.5412, allocations: 415.9 kB / 0.7505 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.5414, allocations: 145.4 kB / 0.7506 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.5416, allocations: 259.4 kB / 0.7509 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.5429, allocations: 0.9442 MB / 0.7518 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5429, allocations: 0.6094 kB / 0.7518 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5429, allocations: 0 / 0.7518 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.5429, allocations: 0 / 0.7518 GB, free: 2.586 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.0009984/0.5439, allocations: 0.8286 MB / 0.7526 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.544, allocations: 9.5 kB / 0.7526 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.5442, allocations: 67.48 kB / 0.7527 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.5449, allocations: 0.5108 MB / 0.7532 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.545, allocations: 37.81 kB / 0.7532 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.545, allocations: 38.03 kB / 0.7532 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.5456, allocations: 0.5033 MB / 0.7537 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.5456, allocations: 0.9688 kB / 0.7537 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.5457, allocations: 20.2 kB / 0.7537 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.5457, allocations: 14.5 kB / 0.7538 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.5461, allocations: 304.9 kB / 0.754 GB, free: 1.188 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.001759/0.5479, allocations: 1.457 MB / 0.7555 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.5483, allocations: 237.2 kB / 0.7557 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.5485, allocations: 114.9 kB / 0.7558 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003421/0.5488, allocations: 102.3 kB / 0.7559 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.5488, allocations: 37.84 kB / 0.7559 GB, free: 44 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 3.376e-06/0.5488, allocations: 4 kB / 0.7559 GB, free: 40 kB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.0006282/0.5495, allocations: 367 kB / 0.7563 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.5495, allocations: 55.2 kB / 0.7563 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.5499, allocations: 405.4 kB / 0.7567 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.5499, allocations: 36.48 kB / 0.7568 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.5501, allocations: 271.2 kB / 0.757 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.009e-05/0.5502, allocations: 102.5 kB / 0.7571 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.5503, allocations: 75.38 kB / 0.7572 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5504, allocations: 349.9 kB / 0.7575 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.5506, allocations: 100.7 kB / 0.7576 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.5508, allocations: 253.7 kB / 0.7579 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.5511, allocations: 273.2 kB / 0.7581 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5511, allocations: 1.062 kB / 0.7581 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004769/0.5516, allocations: 363.2 kB / 0.7585 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5516, allocations: 5.625 kB / 0.7585 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5516, allocations: 3.156 kB / 0.7585 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.5517, allocations: 3.156 kB / 0.7585 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.5518, allocations: 70.75 kB / 0.7586 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.5519, allocations: 11.34 kB / 0.7586 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.552, allocations: 29.62 kB / 0.7586 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.5521, allocations: 13.98 kB / 0.7586 GB, free: 14.32 MB / 0.6511 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.0001887/0.5523, allocations: 191.1 kB / 0.7588 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.5523, allocations: 44.62 kB / 0.7588 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006865/0.553, allocations: 470 kB / 0.7593 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.553, allocations: 13.03 kB / 0.7593 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5531, allocations: 8.734 kB / 0.7593 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004659/0.5535, allocations: 0.5721 MB / 0.7599 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.5549, allocations: 0.9536 MB / 0.7608 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5549, allocations: 5.531 kB / 0.7608 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.555, allocations: 49.81 kB / 0.7608 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.555, allocations: 2.797 kB / 0.7608 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.555, allocations: 14.25 kB / 0.7609 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.555, allocations: 7.703 kB / 0.7609 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.5551, allocations: 2.281 kB / 0.7609 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007169/0.5558, allocations: 0.6596 MB / 0.7615 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.5559, allocations: 95.09 kB / 0.7616 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.5559, allocations: 8.797 kB / 0.7616 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.5561, allocations: 15.16 kB / 0.7616 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.5561, allocations: 28.88 kB / 0.7617 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.5562, allocations: 15.17 kB / 0.7617 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002768/0.5564, allocations: 277.8 kB / 0.7619 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.5564, allocations: 0 / 0.7619 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006871/0.5571, allocations: 208.7 kB / 0.7621 GB, free: 12.31 MB / 0.6511 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.0005442/0.5577, allocations: 282.8 kB / 0.7624 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.5582, allocations: 297.8 kB / 0.7627 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5582, allocations: 1.5 kB / 0.7627 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.5584, allocations: 153.1 kB / 0.7628 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008609/0.5592, allocations: 255.2 kB / 0.7631 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.5608, allocations: 1.069 MB / 0.7641 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.561, allocations: 263.6 kB / 0.7644 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003846/0.5614, allocations: 109.2 kB / 0.7645 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.5615, allocations: 50.92 kB / 0.7645 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/0.5615, allocations: 0 / 0.7645 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.01747/0.579, allocations: 10.76 MB / 0.775 GB, free: 5.578 MB / 0.6511 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.72556669509504] Failed to read output from testmodel.py, exit status != 0: 0.5869096199749038 0.601526542 0.055871807 Calling exit ...