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.0007143/0.0007143, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001796, allocations: 435.8 kB / 10.33 MB, free: 368 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.9515/0.9515, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1655/1.117, allocations: 53.65 MB / 241.9 MB, free: 2.738 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.000899/0.000899, allocations: 147.2 kB / 242.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.002047, allocations: 490.1 kB / 243.2 MB, free: 1.418 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.4776/0.4776, allocations: 89.05 MB / 333 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04493/0.5226, allocations: 30.21 MB / 363.2 MB, free: 3.168 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.03186/0.03186, allocations: 4.792 MB / 368.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004311/0.03617, allocations: 1.923 MB / 370.7 MB, free: 11.89 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.263e-06/1.263e-06, allocations: 0 / 372 MB, free: 10.59 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.287e-05, allocations: 4.844 kB / 372 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.003705/0.003718, allocations: 4.236 MB / 376.2 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.006742, allocations: 2.807 MB / 379 MB, free: 3.516 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.006972, allocations: 11.94 kB / 379.1 MB, free: 3.504 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.00851, allocations: 1.911 MB / 381 MB, free: 1.586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008427/0.009353, allocations: 0.9141 MB / 381.9 MB, free: 0.668 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000853/0.01021, allocations: 0.5023 MB / 382.4 MB, free: 168 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008647/0.01107, allocations: 1.245 MB / 383.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.01151, allocations: 452 kB / 384.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007034/0.01221, allocations: 0.9556 MB / 385 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.01277, allocations: 0.7854 MB / 385.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.433e-05/0.01285, allocations: 72 kB / 385.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.01326, allocations: 355.5 kB / 386.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.01343, allocations: 276 kB / 386.5 MB, free: 12.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.01363, allocations: 255.1 kB / 386.7 MB, free: 11.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000785/0.01441, allocations: 1.02 MB / 387.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/0.01443, allocations: 0 / 387.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01443, allocations: 0 / 387.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.01445, allocations: 0 / 387.8 MB, free: 10.73 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.001733/0.01618, allocations: 1.959 MB / 389.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.01621, allocations: 11.97 kB / 389.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004829/0.01669, allocations: 265.9 kB / 390 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005324/0.01723, allocations: 0.6033 MB / 390.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.01725, allocations: 29.38 kB / 390.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.0173, allocations: 60.27 kB / 390.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.01776, allocations: 0.6507 MB / 391.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.01777, allocations: 3.938 kB / 391.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.0178, allocations: 20 kB / 391.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.01781, allocations: 12 kB / 391.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.01801, allocations: 160.2 kB / 391.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.0193, allocations: 1.26 MB / 392.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.0196, allocations: 317 kB / 393.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.01969, allocations: 98.83 kB / 393.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.01972, allocations: 8 kB / 393.2 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.01993, allocations: 223.3 kB / 393.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 1.653e-06/0.01993, allocations: 0 / 393.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.001252/0.02118, allocations: 0.8272 MB / 394.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.02122, allocations: 110.8 kB / 394.4 MB, free: 3.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008062/0.02203, allocations: 1.318 MB / 395.7 MB, free: 2.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.02206, allocations: 37.7 kB / 395.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.02223, allocations: 366.9 kB / 396.1 MB, free: 1.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.164e-05/0.02232, allocations: 186.3 kB / 396.2 MB, free: 1.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/0.02242, allocations: 118.2 kB / 396.4 MB, free: 1.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.02249, allocations: 333.9 kB / 396.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.02257, allocations: 60.05 kB / 396.7 MB, free: 1.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.02299, allocations: 415.5 kB / 397.2 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.0232, allocations: 235.4 kB / 397.4 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.0232, allocations: 0 / 397.4 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003092/0.02351, allocations: 325.9 kB / 397.7 MB, free: 216 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.02353, allocations: 12.12 kB / 397.7 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.02353, allocations: 3.984 kB / 397.7 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.02354, allocations: 4 kB / 397.7 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.024, allocations: 195.9 kB / 397.9 MB, free: 16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.02401, allocations: 7.938 kB / 397.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.02419, allocations: 23.98 kB / 397.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.02421, allocations: 15.98 kB / 398 MB, free: 15.95 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.0001434/0.02436, allocations: 158.9 kB / 398.1 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.02444, allocations: 91.89 kB / 398.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.02482, allocations: 392.8 kB / 398.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.02482, allocations: 4 kB / 398.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.02482, allocations: 11.88 kB / 398.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.02483, allocations: 3.984 kB / 398.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.02563, allocations: 0.7308 MB / 399.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02564, allocations: 0 / 399.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.0262, allocations: 262.6 kB / 399.6 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.02629, allocations: 123 kB / 399.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.0263, allocations: 4 kB / 399.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.02632, allocations: 20 kB / 399.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.02752, allocations: 3.603 MB / 403.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.02752, allocations: 0 / 403.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.02795, allocations: 0.5125 MB / 403.9 MB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.02802, allocations: 16 kB / 403.9 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.02823, allocations: 24.17 kB / 403.9 MB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.02828, allocations: 47.86 kB / 403.9 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.0283, allocations: 15.98 kB / 404 MB, free: 9.609 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007271/0.02903, allocations: 0.7655 MB / 404.7 MB, free: 8.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02903, allocations: 4 kB / 404.7 MB, free: 8.836 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003884/0.02942, allocations: 223.8 kB / 404.9 MB, free: 8.617 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.001294/0.03071, allocations: 0.6376 MB / 405.6 MB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.03099, allocations: 243.8 kB / 405.8 MB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/0.03101, allocations: 20 kB / 405.8 MB, free: 8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.03129, allocations: 214 kB / 406 MB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.03181, allocations: 279.7 kB / 406.3 MB, free: 7.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/0.03751, allocations: 2.126 MB / 408.4 MB, free: 5.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.03768, allocations: 257.4 kB / 408.7 MB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00026/0.03794, allocations: 113.5 kB / 408.8 MB, free: 4.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.03836, allocations: 273.1 kB / 409.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03836, allocations: 0 / 409.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of Templates: time 0.017/0.05536, allocations: 14.79 MB / 423.9 MB, free: 6.113 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.3644500533118844]