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.000846/0.000846, allocations: 104.3 kB / 19.71 MB, free: 436 kB / 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.017/1.017, allocations: 230.6 MB / 253.4 MB, free: 9.82 MB / 202.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.001605/0.001605, allocations: 220.9 kB / 310 MB, free: 1.922 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.44/0.44, allocations: 107.2 MB / 473.6 MB, free: 9.883 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.0224/0.0224, allocations: 6.31 MB / 0.5499 GB, free: 1.258 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.003479/0.003479, allocations: 126.7 kB / 0.7254 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3798, allocations: 81.65 MB / 0.8051 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.003459/0.3832, allocations: 3.895 MB / 0.8089 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003167/0.3864, allocations: 2.627 MB / 0.8115 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004422/0.3869, allocations: 21.25 kB / 0.8115 GB, free: 28.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.3887, allocations: 1.82 MB / 0.8133 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.39, allocations: 0.9039 MB / 0.8142 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.3915, allocations: 0.4946 MB / 0.8147 GB, free: 27.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00165/0.3932, allocations: 1.228 MB / 0.8159 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009663/0.3941, allocations: 0.5184 MB / 0.8164 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009128/0.395, allocations: 0.5801 MB / 0.8169 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009172/0.3959, allocations: 0.9592 MB / 0.8179 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3961, allocations: 71.72 kB / 0.8179 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006031/0.3967, allocations: 357.8 kB / 0.8183 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.3969, allocations: 329.1 kB / 0.8186 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.3972, allocations: 430.4 kB / 0.819 GB, free: 25.9 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.3985, allocations: 1.387 MB / 0.8203 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3985, allocations: 0 / 0.8203 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3985, allocations: 4 kB / 0.8204 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.3985, allocations: 3.125 kB / 0.8204 GB, free: 25.33 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.002021/0.4006, allocations: 1.771 MB / 0.8221 GB, free: 24.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4006, allocations: 9.938 kB / 0.8221 GB, free: 24.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004938/0.4011, allocations: 215.6 kB / 0.8223 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006937/0.4018, allocations: 0.6809 MB / 0.823 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.4018, allocations: 39.97 kB / 0.823 GB, free: 23.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.4019, allocations: 54.02 kB / 0.8231 GB, free: 23.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.4025, allocations: 0.7818 MB / 0.8238 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4025, allocations: 3.953 kB / 0.8238 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.4026, allocations: 15.19 kB / 0.8238 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.4026, allocations: 12.22 kB / 0.8238 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.403, allocations: 365.9 kB / 0.8242 GB, free: 22.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.4049, allocations: 1.785 MB / 0.8259 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/0.4055, allocations: 447.7 kB / 0.8264 GB, free: 21.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.4057, allocations: 185.5 kB / 0.8265 GB, free: 21.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.4058, allocations: 13.5 kB / 0.8266 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/0.4061, allocations: 287.9 kB / 0.8268 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 2.295e-06/0.4061, allocations: 0 / 0.8268 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55): time 0.002166/0.4083, allocations: 1.907 MB / 0.8287 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.4083, allocations: 349.2 kB / 0.829 GB, free: 19.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.41, allocations: 2.086 MB / 0.8311 GB, free: 18.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.41, allocations: 37.92 kB / 0.8311 GB, free: 18.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.4104, allocations: 0.6109 MB / 0.8317 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.4105, allocations: 197.2 kB / 0.8319 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.4106, allocations: 113 kB / 0.832 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.4106, allocations: 331.1 kB / 0.8323 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.4109, allocations: 156.8 kB / 0.8325 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.4112, allocations: 0.5238 MB / 0.833 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.4117, allocations: 423.9 kB / 0.8334 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4117, allocations: 0 / 0.8334 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007844/0.4125, allocations: 0.6269 MB / 0.834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.4125, allocations: 6.75 kB / 0.834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4125, allocations: 1.312 kB / 0.834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4126, allocations: 4 kB / 0.834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.413, allocations: 155.7 kB / 0.8341 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.413, allocations: 9.125 kB / 0.8342 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.4133, allocations: 36.34 kB / 0.8342 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.4133, allocations: 21.89 kB / 0.8342 GB, free: 16.77 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.0003655/0.4137, allocations: 372.6 kB / 0.8346 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4138, allocations: 150.5 kB / 0.8347 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00079/0.4146, allocations: 0.6441 MB / 0.8353 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.4146, allocations: 5.75 kB / 0.8353 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4146, allocations: 1.125 kB / 0.8353 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4146, allocations: 5.484 kB / 0.8353 GB, free: 16.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.416, allocations: 1.04 MB / 0.8364 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.416, allocations: 2.438 kB / 0.8364 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/0.4166, allocations: 205.3 kB / 0.8366 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.4166, allocations: 3.562 kB / 0.8366 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.4166, allocations: 25.48 kB / 0.8366 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.4178, allocations: 3.788 MB / 0.8403 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4178, allocations: 1.812 kB / 0.8403 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.4188, allocations: 0.9508 MB / 0.8412 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.4189, allocations: 134.8 kB / 0.8413 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.419, allocations: 22.58 kB / 0.8414 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.4193, allocations: 24.36 kB / 0.8414 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.4194, allocations: 47.7 kB / 0.8414 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.4194, allocations: 22.02 kB / 0.8415 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001249/0.4206, allocations: 1.54 MB / 0.843 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4206, allocations: 0 / 0.843 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006625/0.4213, allocations: 232 kB / 0.8432 GB, free: 9.977 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.001306/0.4226, allocations: 0.4907 MB / 0.8437 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006793/0.4233, allocations: 423.5 kB / 0.8441 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4233, allocations: 0 / 0.8441 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.4238, allocations: 281.7 kB / 0.8443 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.4244, allocations: 189.3 kB / 0.8445 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.4273, allocations: 2.765 MB / 0.8472 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4277, allocations: 0.5773 MB / 0.8478 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.4279, allocations: 65.72 kB / 0.8478 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/0.4279, allocations: 0 / 0.8478 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of Templates: time 0.02467/0.4526, allocations: 22.74 MB / 0.8701 GB, free: 5.488 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 > OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.131854429841042]