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.002445/0.002445, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.639/1.639, allocations: 230.6 MB / 252.7 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 178] 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.002112/0.002112, allocations: 221.1 kB / 309.2 MB, free: 1.926 MB / 234.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.712/0.712, allocations: 107.2 MB / 472.8 MB, free: 9.938 MB / 330.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.04222/0.04222, allocations: 6.295 MB / 0.5492 GB, free: 1.301 MB / 410.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL 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: OpenHPL requested package OpenIPSL of version 3.0.0. OpenIPSL 3.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL 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.006849/0.006849, allocations: 130.1 kB / 0.7254 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3516, allocations: 81.64 MB / 0.8052 GB, free: 33.44 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.004374/0.3559, allocations: 3.904 MB / 0.809 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.3598, allocations: 2.624 MB / 0.8115 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.3604, allocations: 10 kB / 0.8115 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.3624, allocations: 1.817 MB / 0.8133 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.3639, allocations: 0.9056 MB / 0.8142 GB, free: 28.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3652, allocations: 0.5076 MB / 0.8147 GB, free: 28.02 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.3667, allocations: 1.226 MB / 0.8159 GB, free: 27.5 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008935/0.3676, allocations: 0.5072 MB / 0.8164 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008814/0.3685, allocations: 0.581 MB / 0.817 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.3698, allocations: 0.969 MB / 0.8179 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.37, allocations: 69.78 kB / 0.818 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007885/0.3708, allocations: 352.5 kB / 0.8183 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.3711, allocations: 336.9 kB / 0.8186 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004984/0.3716, allocations: 430 kB / 0.819 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.3731, allocations: 1.386 MB / 0.8204 GB, free: 25.78 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3731, allocations: 0 / 0.8204 GB, free: 25.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3731, allocations: 0 / 0.8204 GB, free: 25.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.3731, allocations: 0 / 0.8204 GB, free: 25.78 MB / 0.5261 GB 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.00255/0.3757, allocations: 1.77 MB / 0.8221 GB, free: 24.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3757, allocations: 9.312 kB / 0.8221 GB, free: 24.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007779/0.3765, allocations: 217.5 kB / 0.8223 GB, free: 24.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.3773, allocations: 0.6807 MB / 0.823 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.3773, allocations: 35.55 kB / 0.823 GB, free: 23.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.3774, allocations: 53.42 kB / 0.8231 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.3782, allocations: 0.7756 MB / 0.8238 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.3782, allocations: 4 kB / 0.8238 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.3782, allocations: 22.66 kB / 0.8239 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3782, allocations: 12.62 kB / 0.8239 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.3789, allocations: 368.1 kB / 0.8242 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.3813, allocations: 1.794 MB / 0.826 GB, free: 22.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/0.3821, allocations: 454.1 kB / 0.8264 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.3824, allocations: 181.5 kB / 0.8266 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.3825, allocations: 6.156 kB / 0.8266 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004788/0.3829, allocations: 293 kB / 0.8269 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 3.095e-06/0.3829, allocations: 0 / 0.8269 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55): time 0.003084/0.386, allocations: 1.896 MB / 0.8287 GB, free: 20.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.3861, allocations: 349.3 kB / 0.8291 GB, free: 20.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.3884, allocations: 2.089 MB / 0.8311 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.3884, allocations: 42.47 kB / 0.8311 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.3888, allocations: 0.6109 MB / 0.8317 GB, free: 18.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3889, allocations: 197.3 kB / 0.8319 GB, free: 18.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3891, allocations: 108.3 kB / 0.832 GB, free: 18.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.3891, allocations: 332.1 kB / 0.8323 GB, free: 18.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.3895, allocations: 157.7 kB / 0.8325 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.3899, allocations: 0.5214 MB / 0.833 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/0.3906, allocations: 424.3 kB / 0.8334 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3906, allocations: 0 / 0.8334 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001069/0.3916, allocations: 0.6232 MB / 0.834 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3917, allocations: 5.969 kB / 0.834 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3917, allocations: 10.62 kB / 0.834 GB, free: 17.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.3917, allocations: 3.469 kB / 0.834 GB, free: 17.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/0.3925, allocations: 157.5 kB / 0.8342 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3925, allocations: 3.656 kB / 0.8342 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.393, allocations: 29.17 kB / 0.8342 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.3931, allocations: 18.94 kB / 0.8342 GB, free: 17.09 MB / 0.5261 GB 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.0004282/0.3935, allocations: 377 kB / 0.8346 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.3937, allocations: 146.8 kB / 0.8347 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.3948, allocations: 0.6463 MB / 0.8354 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.3948, allocations: 6.469 kB / 0.8354 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3948, allocations: 1.281 kB / 0.8354 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3948, allocations: 1.281 kB / 0.8354 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.3966, allocations: 1.044 MB / 0.8364 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3966, allocations: 4.938 kB / 0.8364 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.3977, allocations: 204.9 kB / 0.8366 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.3977, allocations: 8.234 kB / 0.8366 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.3977, allocations: 17.77 kB / 0.8366 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.3993, allocations: 3.789 MB / 0.8403 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3993, allocations: 6.312 kB / 0.8403 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.4007, allocations: 0.9508 MB / 0.8413 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.4009, allocations: 131 kB / 0.8414 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.401, allocations: 22.22 kB / 0.8414 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.4018, allocations: 24.39 kB / 0.8414 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.4019, allocations: 47.98 kB / 0.8415 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.402, allocations: 25.73 kB / 0.8415 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001623/0.4036, allocations: 1.532 MB / 0.843 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.4036, allocations: 0 / 0.843 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008112/0.4044, allocations: 232.8 kB / 0.8432 GB, free: 10.23 MB / 0.5261 GB 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.002948/0.4074, allocations: 0.5047 MB / 0.8437 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008625/0.4083, allocations: 414.5 kB / 0.8441 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4083, allocations: 1.094 kB / 0.8441 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007596/0.409, allocations: 278.3 kB / 0.8444 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/0.41, allocations: 198.5 kB / 0.8446 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.4135, allocations: 2.734 MB / 0.8472 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.4141, allocations: 0.5934 MB / 0.8478 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004642/0.4145, allocations: 109.7 kB / 0.8479 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.4148, allocations: 81.05 kB / 0.848 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/0.4148, allocations: 0 / 0.848 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of Templates: time 0.02363/0.4384, allocations: 14.32 MB / 0.862 GB, free: 13.87 MB / 0.5417 GB " [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 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.859142050612718]