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.001122/0.001122, allocations: 85.14 kB / 19.87 MB, free: 4.625 MB / 18.57 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.001332/0.001332, allocations: 165 kB / 23.27 MB, free: 1.23 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.04/1.04, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8058/0.8058, allocations: 154.9 MB / 415.1 MB, free: 280 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 179] 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.133e-06/1.133e-06, allocations: 0 / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.113e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.006598/0.006609, allocations: 8.648 MB / 0.5296 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003734/0.01034, allocations: 3.284 MB / 0.5328 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.01069, allocations: 41.03 kB / 0.5328 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.01109, allocations: 182.6 kB / 0.533 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.01216, allocations: 0.6576 MB / 0.5337 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.01319, allocations: 0.673 MB / 0.5343 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.01433, allocations: 1.625 MB / 0.5359 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.01471, allocations: 413.7 kB / 0.5363 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008148/0.01553, allocations: 0.7652 MB / 0.537 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.01588, allocations: 406.7 kB / 0.5374 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.01594, allocations: 48 kB / 0.5375 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.01627, allocations: 263.4 kB / 0.5377 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.565e-05/0.01637, allocations: 151.4 kB / 0.5379 GB, free: 404 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.01651, allocations: 207.5 kB / 0.5381 GB, free: 196 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.01711, allocations: 0.6229 MB / 0.5387 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01711, allocations: 7.562 kB / 0.5387 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.91e-07/0.01711, allocations: 0 / 0.5387 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.01712, allocations: 0 / 0.5387 GB, free: 15.56 MB / 0.5105 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.0007789/0.0179, allocations: 0.9002 MB / 0.5396 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.01792, allocations: 8.031 kB / 0.5396 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.0181, allocations: 108.4 kB / 0.5397 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.01856, allocations: 483.7 kB / 0.5401 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.01858, allocations: 29.38 kB / 0.5402 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.01863, allocations: 45.06 kB / 0.5402 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.01897, allocations: 395.8 kB / 0.5406 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01898, allocations: 0.5625 kB / 0.5406 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.019, allocations: 19.94 kB / 0.5406 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.01903, allocations: 12.94 kB / 0.5406 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.01919, allocations: 135.3 kB / 0.5407 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.02049, allocations: 1.524 MB / 0.5422 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.02072, allocations: 151.6 kB / 0.5424 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.02078, allocations: 56.88 kB / 0.5424 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.02095, allocations: 64.86 kB / 0.5425 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.02097, allocations: 41.39 kB / 0.5425 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 1.542e-06/0.02097, allocations: 0.9062 kB / 0.5425 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.0002967/0.02127, allocations: 214.5 kB / 0.5427 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.0213, allocations: 56.59 kB / 0.5428 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.02154, allocations: 422.4 kB / 0.5432 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.02156, allocations: 33.64 kB / 0.5432 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.0217, allocations: 324.7 kB / 0.5435 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.02175, allocations: 99.16 kB / 0.5436 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.02182, allocations: 79.59 kB / 0.5437 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.02197, allocations: 0.5351 MB / 0.5442 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.02201, allocations: 34.5 kB / 0.5443 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.02213, allocations: 199.8 kB / 0.5445 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.02228, allocations: 176 kB / 0.5446 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.02228, allocations: 0 / 0.5446 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002515/0.02253, allocations: 247.5 kB / 0.5449 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.02255, allocations: 8 kB / 0.5449 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.02255, allocations: 0 / 0.5449 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.02256, allocations: 4.75 kB / 0.5449 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.0227, allocations: 72.42 kB / 0.5449 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.02271, allocations: 8.5 kB / 0.5449 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.02282, allocations: 34.47 kB / 0.545 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.02284, allocations: 11.98 kB / 0.545 GB, free: 8.793 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.0001125/0.02295, allocations: 188.4 kB / 0.5452 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.02301, allocations: 51.72 kB / 0.5452 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.02336, allocations: 294.2 kB / 0.5455 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.02337, allocations: 7.984 kB / 0.5455 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.02337, allocations: 9.25 kB / 0.5455 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002241/0.02359, allocations: 420.2 kB / 0.5459 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000781/0.02438, allocations: 0.7565 MB / 0.5467 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.02438, allocations: 4 kB / 0.5467 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.0245, allocations: 52.73 kB / 0.5467 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.0245, allocations: 2.594 kB / 0.5467 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.02452, allocations: 11.98 kB / 0.5467 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.02452, allocations: 4 kB / 0.5467 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.02452, allocations: 7.938 kB / 0.5467 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.02487, allocations: 473.1 kB / 0.5472 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.251e-05/0.02497, allocations: 87.52 kB / 0.5473 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.025, allocations: 10.31 kB / 0.5473 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.02511, allocations: 8 kB / 0.5473 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.02514, allocations: 31.89 kB / 0.5473 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.02516, allocations: 15.94 kB / 0.5473 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001325/0.02529, allocations: 267 kB / 0.5476 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.02529, allocations: 0 / 0.5476 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003371/0.02563, allocations: 185.9 kB / 0.5478 GB, free: 5.773 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.0002448/0.02588, allocations: 201.8 kB / 0.548 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.02607, allocations: 170.4 kB / 0.5481 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.02608, allocations: 0 / 0.5481 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.02617, allocations: 94.77 kB / 0.5482 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/0.02682, allocations: 264.3 kB / 0.5485 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.02792, allocations: 0.9258 MB / 0.5494 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.526e-05/0.02799, allocations: 134 kB / 0.5495 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.02817, allocations: 89.2 kB / 0.5496 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.02852, allocations: 282 kB / 0.5498 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/0.02852, allocations: 0 / 0.5498 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of Templates: time 0.01155/0.04007, allocations: 10.83 MB / 0.5604 GB, free: 9.105 MB / 0.5261 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 & (cd run_cvode && ../IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9616146478801966]