Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.VolumeFlowSource.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.001019/0.001019, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9648/0.9648, allocations: 177.2 MB / 200.3 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 179] 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.001215/0.001215, allocations: 160.5 kB / 257 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4799/0.4799, allocations: 80.24 MB / 340.5 MB, free: 9.648 MB / 314.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.02223/0.02223, allocations: 4.788 MB / 375.3 MB, free: 7.137 MB / 346.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenHPL.Examples.VolumeFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.VolumeFlowSource") translateModel(OpenHPL.Examples.VolumeFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.VolumeFlowSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 395 MB, free: 3.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.984e-05, allocations: 2.312 kB / 395 MB, free: 3.477 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.004048/0.004068, allocations: 4.23 MB / 399.2 MB, free: 15.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.007741, allocations: 2.784 MB / 402 MB, free: 12.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/0.008046, allocations: 15.88 kB / 402 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.009993, allocations: 1.899 MB / 403.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009419/0.01093, allocations: 0.918 MB / 404.8 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000878/0.01181, allocations: 0.5023 MB / 405.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009224/0.01274, allocations: 1.26 MB / 406.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006168/0.01335, allocations: 0.5425 MB / 407.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006043/0.01396, allocations: 0.7287 MB / 407.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006549/0.01461, allocations: 0.7854 MB / 408.6 MB, free: 5.727 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.946e-05/0.0147, allocations: 72 kB / 408.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.01514, allocations: 367.4 kB / 409.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.01534, allocations: 336.6 kB / 409.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.01554, allocations: 322.8 kB / 409.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008756/0.01642, allocations: 1.105 MB / 410.8 MB, free: 3.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01642, allocations: 0 / 410.8 MB, free: 3.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.01642, allocations: 0 / 410.8 MB, free: 3.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.01643, allocations: 0 / 410.8 MB, free: 3.539 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001569/0.018, allocations: 1.707 MB / 412.5 MB, free: 1.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.01804, allocations: 8.031 kB / 412.5 MB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004652/0.0185, allocations: 188.7 kB / 412.7 MB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.01906, allocations: 0.611 MB / 413.3 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.01909, allocations: 33.38 kB / 413.4 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/0.01914, allocations: 52.38 kB / 413.4 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.01961, allocations: 0.6506 MB / 414.1 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.01963, allocations: 7.891 kB / 414.1 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.01965, allocations: 20 kB / 414.1 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.01967, allocations: 12 kB / 414.1 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.01988, allocations: 156.5 kB / 414.3 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.02125, allocations: 1.268 MB / 415.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.02156, allocations: 316.7 kB / 415.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.02167, allocations: 102.7 kB / 415.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.02169, allocations: 12 kB / 415.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.02197, allocations: 219.3 kB / 416.2 MB, free: 13.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 1.512e-06/0.02198, allocations: 0 / 416.2 MB, free: 13.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=55): time 0.001161/0.02314, allocations: 0.8187 MB / 417 MB, free: 13.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.02323, allocations: 350 kB / 417.3 MB, free: 12.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009558/0.02419, allocations: 1.318 MB / 418.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.02422, allocations: 37.7 kB / 418.7 MB, free: 11.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.02439, allocations: 358.9 kB / 419 MB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.195e-05/0.02448, allocations: 198.3 kB / 419.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/0.02458, allocations: 106.3 kB / 419.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.02465, allocations: 337.8 kB / 419.7 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.02473, allocations: 52.11 kB / 419.7 MB, free: 10.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.02493, allocations: 423.5 kB / 420.1 MB, free: 9.652 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.02517, allocations: 236.2 kB / 420.3 MB, free: 9.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.02517, allocations: 0 / 420.3 MB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000335/0.0255, allocations: 317.9 kB / 420.7 MB, free: 9.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.02552, allocations: 8 kB / 420.7 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.02552, allocations: 0 / 420.7 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.02554, allocations: 8.125 kB / 420.7 MB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.02599, allocations: 191.9 kB / 420.9 MB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.026, allocations: 4 kB / 420.9 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.02619, allocations: 27.95 kB / 420.9 MB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.02622, allocations: 15.98 kB / 420.9 MB, free: 8.836 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.logdata.nextTimeEvent,$whenCondition1,logdata.nextTimeEventScaled,$PRE.logdata.nextTimeEventScaled,logdata.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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.0001466/0.02636, allocations: 148.5 kB / 421.1 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.02644, allocations: 103.8 kB / 421.2 MB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/0.02711, allocations: 386.3 kB / 421.5 MB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.02712, allocations: 15.92 kB / 421.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.02712, allocations: 0 / 421.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.02712, allocations: 3.984 kB / 421.6 MB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008431/0.02797, allocations: 0.727 MB / 422.3 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.02797, allocations: 0 / 422.3 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.02855, allocations: 255.7 kB / 422.5 MB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.02855, allocations: 4 kB / 422.5 MB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.02858, allocations: 15.98 kB / 422.5 MB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.02992, allocations: 3.603 MB / 426.2 MB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.02993, allocations: 4 kB / 426.2 MB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.03038, allocations: 0.5162 MB / 426.7 MB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.03048, allocations: 126.9 kB / 426.8 MB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/0.03055, allocations: 16 kB / 426.8 MB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.03076, allocations: 27.98 kB / 426.8 MB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.03082, allocations: 36.02 kB / 426.9 MB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.03085, allocations: 27.92 kB / 426.9 MB, free: 2.488 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005036/0.03135, allocations: 0.7538 MB / 427.7 MB, free: 1.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03135, allocations: 0 / 427.7 MB, free: 1.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004016/0.03175, allocations: 227.7 kB / 427.9 MB, free: 1.508 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (tail1.m,tail2.m,tail3.m,volumeFlowFiltered.firstOrder.y) * Number of discrete variables: 3 ($whenCondition1,logdata.nextTimeEvent,logdata.nextTimeEventScaled) * Number of discrete states: 2 (logdata.nextTimeEvent,logdata.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001167/0.03292, allocations: 0.5897 MB / 428.5 MB, free: 1.055 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006358/0.03356, allocations: 253.1 kB / 428.7 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.03357, allocations: 16 kB / 428.7 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.03387, allocations: 198.4 kB / 428.9 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.03444, allocations: 215.2 kB / 429.1 MB, free: 396 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.03667, allocations: 2.116 MB / 431.3 MB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.03686, allocations: 261.1 kB / 431.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.03713, allocations: 109.5 kB / 431.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/0.03761, allocations: 281.1 kB / 431.9 MB, free: 13.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.03761, allocations: 0 / 431.9 MB, free: 13.55 MB / 410.7 MB Notification: Performance of Templates: time 0.1774/0.2151, allocations: 14.2 MB / 446.1 MB, free: 60.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.VolumeFlowSource.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe ; mkfifo OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe >> ../files/OpenHPL_OpenHPL.Examples.VolumeFlowSource.sim & ./OpenHPL_OpenHPL.Examples.VolumeFlowSource -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5561015093699098]