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.0007827/0.0007827, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001844, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.9176/0.9176, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1725/1.09, allocations: 53.65 MB / 242 MB, free: 2.613 MB / 234.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.001018/0.001018, allocations: 158.1 kB / 242.9 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002507, allocations: 475.5 kB / 243.4 MB, free: 1.285 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.5133/0.5133, allocations: 89.19 MB / 333.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04666/0.56, allocations: 30.21 MB / 363.5 MB, free: 3.059 MB / 346.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.02361/0.02361, allocations: 4.798 MB / 369.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002754/0.02636, allocations: 1.923 MB / 371 MB, free: 11.77 MB / 362.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.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.202e-06/1.202e-06, allocations: 1.312 kB / 372.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.201e-05, allocations: 6.25 kB / 372.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.006097/0.006119, allocations: 4.245 MB / 376.6 MB, free: 6.203 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00551/0.01163, allocations: 2.807 MB / 379.4 MB, free: 3.383 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006217/0.01225, allocations: 15.88 kB / 379.4 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.0139, allocations: 1.907 MB / 381.3 MB, free: 1.453 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.01497, allocations: 0.9179 MB / 382.2 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.01585, allocations: 0.5061 MB / 382.7 MB, free: 24 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007512/0.0166, allocations: 1.249 MB / 384 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.017, allocations: 440 kB / 384.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006851/0.01768, allocations: 0.9554 MB / 385.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.01824, allocations: 0.7893 MB / 386.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/0.01833, allocations: 72 kB / 386.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.01873, allocations: 359.4 kB / 386.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.01889, allocations: 276 kB / 386.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.01907, allocations: 255.1 kB / 387.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000742/0.01981, allocations: 1.023 MB / 388.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.01982, allocations: 4 kB / 388.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01982, allocations: 0 / 388.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.01983, allocations: 0 / 388.1 MB, free: 10.59 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.001484/0.02132, allocations: 1.947 MB / 390.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.564e-05/0.02134, allocations: 12.03 kB / 390.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/0.02177, allocations: 269.8 kB / 390.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.02225, allocations: 0.5993 MB / 391 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.02227, allocations: 37.38 kB / 391 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.02232, allocations: 56.31 kB / 391 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.02273, allocations: 0.6468 MB / 391.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.02274, allocations: 7.922 kB / 391.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.02277, allocations: 24 kB / 391.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.02278, allocations: 12 kB / 391.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.02296, allocations: 152.2 kB / 391.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.02412, allocations: 1.268 MB / 393.2 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.02441, allocations: 316.2 kB / 393.5 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.699e-05/0.02451, allocations: 102.8 kB / 393.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.02453, allocations: 12 kB / 393.6 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.02471, allocations: 211.3 kB / 393.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 1.263e-06/0.02472, allocations: 0 / 393.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.001205/0.02592, allocations: 0.8685 MB / 394.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.02596, allocations: 122.7 kB / 394.8 MB, free: 3.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.02674, allocations: 1.318 MB / 396.1 MB, free: 2.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.02677, allocations: 37.7 kB / 396.1 MB, free: 2.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.02694, allocations: 362.9 kB / 396.5 MB, free: 1.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.678e-05/0.02703, allocations: 190.3 kB / 396.7 MB, free: 1.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.02713, allocations: 110.2 kB / 396.8 MB, free: 1.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.0272, allocations: 337.8 kB / 397.1 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.02727, allocations: 56.05 kB / 397.2 MB, free: 1.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.02746, allocations: 423.5 kB / 397.6 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.02768, allocations: 231.1 kB / 397.8 MB, free: 364 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.02768, allocations: 4 kB / 397.8 MB, free: 360 kB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003077/0.02798, allocations: 330.2 kB / 398.1 MB, free: 24 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.02799, allocations: 4 kB / 398.1 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.028, allocations: 4 kB / 398.1 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.028, allocations: 4 kB / 398.1 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.02845, allocations: 203.7 kB / 398.3 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.02845, allocations: 7.984 kB / 398.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.02864, allocations: 28 kB / 398.4 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.02866, allocations: 19.98 kB / 398.4 MB, free: 15.76 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.0001433/0.02881, allocations: 144.5 kB / 398.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.02889, allocations: 99.88 kB / 398.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.02925, allocations: 386.2 kB / 399 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02925, allocations: 8 kB / 399 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.02926, allocations: 0 / 399 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.02926, allocations: 3.938 kB / 399 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007664/0.03003, allocations: 0.7386 MB / 399.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.03003, allocations: 12.11 kB / 399.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.03058, allocations: 255.5 kB / 400 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.03068, allocations: 127 kB / 400.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.03068, allocations: 4 kB / 400.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.0307, allocations: 15.98 kB / 400.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.0319, allocations: 3.591 MB / 403.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.0319, allocations: 8 kB / 403.8 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.03234, allocations: 0.5204 MB / 404.3 MB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.03241, allocations: 15.98 kB / 404.3 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.03261, allocations: 20 kB / 404.3 MB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.03266, allocations: 43.92 kB / 404.4 MB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.03268, allocations: 11.98 kB / 404.4 MB, free: 9.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004858/0.03317, allocations: 0.7616 MB / 405.1 MB, free: 8.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03317, allocations: 0 / 405.1 MB, free: 8.664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.03353, allocations: 227.7 kB / 405.4 MB, free: 8.441 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.001274/0.03481, allocations: 0.6418 MB / 406 MB, free: 8.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.03507, allocations: 249.2 kB / 406.2 MB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/0.03509, allocations: 19.94 kB / 406.3 MB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.03541, allocations: 247.7 kB / 406.5 MB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.03634, allocations: 1.831 MB / 408.3 MB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.04183, allocations: 2.108 MB / 410.4 MB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.04198, allocations: 265.3 kB / 410.7 MB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.04221, allocations: 121.7 kB / 410.8 MB, free: 2.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.04272, allocations: 289 kB / 411.1 MB, free: 2.52 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.04272, allocations: 0 / 411.1 MB, free: 2.52 MB / 394.7 MB Notification: Performance of Templates: time 0.01802/0.06074, allocations: 15.14 MB / 426.2 MB, free: 3.629 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 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2895546769723296]