Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.Pipes.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.002202/0.002202, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.621/1.621, allocations: 177.1 MB / 199.4 MB, free: 5.938 MB / 186.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.002842/0.002842, allocations: 156.7 kB / 256 MB, free: 13.34 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.5014/0.5014, allocations: 80.25 MB / 392.6 MB, free: 2.414 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.03868/0.03868, allocations: 4.793 MB / 480.6 MB, free: 4.41 MB / 394.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.Pipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Pipes") translateModel(OpenHPL.Examples.Pipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Pipes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.018e-05, allocations: 5.469 kB / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.002874/0.002894, allocations: 2.934 MB / 0.6485 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.005065, allocations: 1.736 MB / 0.6502 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.005231, allocations: 4 kB / 0.6502 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009158/0.006147, allocations: 0.5252 MB / 0.6507 GB, free: 102 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.006565, allocations: 247.3 kB / 0.651 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.007291, allocations: 356.9 kB / 0.6513 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000456/0.007747, allocations: 0.6802 MB / 0.652 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.008169, allocations: 318.2 kB / 0.6523 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.008515, allocations: 386.9 kB / 0.6527 GB, free: 100 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.008784, allocations: 235.2 kB / 0.6529 GB, free: 99.81 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.008859, allocations: 59.12 kB / 0.6529 GB, free: 99.76 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.009264, allocations: 299.4 kB / 0.6532 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.009342, allocations: 131.4 kB / 0.6533 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.009498, allocations: 195.4 kB / 0.6535 GB, free: 99.14 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006475/0.01015, allocations: 0.7789 MB / 0.6543 GB, free: 98.36 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01015, allocations: 4 kB / 0.6543 GB, free: 98.36 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.82e-07/0.01015, allocations: 0 / 0.6543 GB, free: 98.36 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.01016, allocations: 0 / 0.6543 GB, free: 98.36 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001531/0.01169, allocations: 0.9531 MB / 0.6552 GB, free: 97.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.01172, allocations: 8.031 kB / 0.6552 GB, free: 97.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/0.01225, allocations: 108.5 kB / 0.6553 GB, free: 97.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.01272, allocations: 371.6 kB / 0.6557 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.01274, allocations: 33.02 kB / 0.6557 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.01279, allocations: 28.38 kB / 0.6558 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.01327, allocations: 0.6068 MB / 0.6563 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.01328, allocations: 192 / 0.6563 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.01331, allocations: 12.38 kB / 0.6564 GB, free: 96.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.01332, allocations: 11.94 kB / 0.6564 GB, free: 96.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.01371, allocations: 250.4 kB / 0.6566 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.01535, allocations: 1.09 MB / 0.6577 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.01571, allocations: 223.4 kB / 0.6579 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.01594, allocations: 140.7 kB / 0.658 GB, free: 94.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.01597, allocations: 8 kB / 0.658 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.01598, allocations: 38.56 kB / 0.6581 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.393e-06/0.01598, allocations: 0 / 0.6581 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.0005483/0.01653, allocations: 334 kB / 0.6584 GB, free: 93.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.01659, allocations: 294.7 kB / 0.6587 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/0.01707, allocations: 0.5176 MB / 0.6592 GB, free: 93.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.01709, allocations: 37.64 kB / 0.6592 GB, free: 93.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01721, allocations: 268.5 kB / 0.6595 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.01725, allocations: 111.6 kB / 0.6596 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.01734, allocations: 78.19 kB / 0.6596 GB, free: 92.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6e-05/0.0174, allocations: 366.8 kB / 0.66 GB, free: 92.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.01755, allocations: 84.84 kB / 0.6601 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.01778, allocations: 464 kB / 0.6605 GB, free: 91.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.01937, allocations: 0.5636 MB / 0.6611 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01937, allocations: 0 / 0.6611 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004591/0.01983, allocations: 360.7 kB / 0.6614 GB, free: 90.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.01984, allocations: 8.25 kB / 0.6614 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01985, allocations: 8.234 kB / 0.6614 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.01987, allocations: 11.88 kB / 0.6614 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.02022, allocations: 99.88 kB / 0.6615 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/0.02023, allocations: 11.98 kB / 0.6615 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.02055, allocations: 31.78 kB / 0.6616 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.02057, allocations: 16 kB / 0.6616 GB, free: 90.39 MB / 0.5105 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: Upstream.h = Upstream.h_0 Downstream.h = Downstream.h_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001605/0.02073, allocations: 178.4 kB / 0.6618 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.02081, allocations: 51.67 kB / 0.6618 GB, free: 90.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.02124, allocations: 317.5 kB / 0.6621 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.02124, allocations: 4 kB / 0.6621 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.02125, allocations: 3.984 kB / 0.6621 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.02125, allocations: 0 / 0.6621 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.02231, allocations: 0.8464 MB / 0.6629 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.02231, allocations: 4 kB / 0.663 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.02261, allocations: 71.91 kB / 0.663 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.02262, allocations: 4 kB / 0.663 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.02264, allocations: 8 kB / 0.663 GB, free: 88.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.02264, allocations: 7.938 kB / 0.663 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.02264, allocations: 7.938 kB / 0.663 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.0232, allocations: 0.5562 MB / 0.6636 GB, free: 88.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.02329, allocations: 67.62 kB / 0.6637 GB, free: 88.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.02336, allocations: 15.98 kB / 0.6637 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.02369, allocations: 16 kB / 0.6637 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.02373, allocations: 35.83 kB / 0.6637 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.02374, allocations: 8 kB / 0.6637 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003513/0.02409, allocations: 374.9 kB / 0.6641 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02409, allocations: 0 / 0.6641 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005138/0.02461, allocations: 167.6 kB / 0.6642 GB, free: 87.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (pipeExpanding.mdot,pipeConstant.mdot,pipeContracting.mdot) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * 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 Backend phase and start with SimCode phase: time 0.0003345/0.02494, allocations: 169.8 kB / 0.6644 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.02537, allocations: 248.7 kB / 0.6646 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02537, allocations: 0 / 0.6646 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.02553, allocations: 108.7 kB / 0.6647 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.02619, allocations: 136.5 kB / 0.6649 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.0273, allocations: 0.9724 MB / 0.6658 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.02744, allocations: 238.5 kB / 0.6661 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.02766, allocations: 68.39 kB / 0.6661 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.02777, allocations: 40.5 kB / 0.6662 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.02777, allocations: 0 / 0.6662 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.01196/0.03973, allocations: 8.794 MB / 0.6747 GB, free: 76.92 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.Pipes.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.Pipes.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Pipes.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Pipes.pipe >> ../files/OpenHPL_OpenHPL.Examples.Pipes.sim & ./OpenHPL_OpenHPL.Examples.Pipes -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.Pipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.583224959205836]