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.000907/0.000907, allocations: 88.42 kB / 19.94 MB, free: 4.609 MB / 18.57 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.927/0.927, allocations: 177.2 MB / 200.2 MB, free: 5.969 MB / 186.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.001299/0.001299, allocations: 160.6 kB / 256.7 MB, free: 13.36 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.2819/0.2819, allocations: 80.25 MB / 393.4 MB, free: 2.449 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.0339/0.0339, allocations: 4.805 MB / 481.4 MB, free: 4.422 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.122e-06/1.122e-06, allocations: 0 / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.687e-05, allocations: 6.719 kB / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.00213/0.002147, allocations: 2.923 MB / 0.6485 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.003807, allocations: 1.741 MB / 0.6502 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.003959, allocations: 4 kB / 0.6502 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.004569, allocations: 0.523 MB / 0.6507 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.004856, allocations: 253.7 kB / 0.651 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.00541, allocations: 349.9 kB / 0.6513 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.005755, allocations: 0.688 MB / 0.652 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.006111, allocations: 302.3 kB / 0.6523 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.006391, allocations: 394.8 kB / 0.6526 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.006569, allocations: 235.2 kB / 0.6529 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.006617, allocations: 52 kB / 0.6529 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.006891, allocations: 291.5 kB / 0.6532 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.006945, allocations: 135.4 kB / 0.6533 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.007055, allocations: 203.3 kB / 0.6535 GB, free: 99.95 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.007511, allocations: 0.7828 MB / 0.6543 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.007513, allocations: 0 / 0.6543 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.91e-07/0.007514, allocations: 0 / 0.6543 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.007519, allocations: 4 kB / 0.6543 GB, free: 99.16 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.0009393/0.008459, allocations: 0.9532 MB / 0.6552 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.00849, allocations: 8.031 kB / 0.6552 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/0.008786, allocations: 92.53 kB / 0.6553 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.009135, allocations: 387.5 kB / 0.6557 GB, free: 97.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.009153, allocations: 21.03 kB / 0.6557 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.009188, allocations: 36.31 kB / 0.6557 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.009536, allocations: 0.6068 MB / 0.6563 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.009545, allocations: 4.188 kB / 0.6563 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.009568, allocations: 16.38 kB / 0.6563 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.009574, allocations: 11.94 kB / 0.6563 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.009846, allocations: 250.4 kB / 0.6566 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.01095, allocations: 1.09 MB / 0.6577 GB, free: 95.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.01121, allocations: 219.5 kB / 0.6579 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.01139, allocations: 136.7 kB / 0.658 GB, free: 95.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.0114, allocations: 4 kB / 0.658 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.01142, allocations: 38.56 kB / 0.658 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.01142, allocations: 0 / 0.658 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.0003927/0.01181, allocations: 342 kB / 0.6584 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.01186, allocations: 290.7 kB / 0.6586 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.0122, allocations: 0.5215 MB / 0.6591 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.01222, allocations: 37.64 kB / 0.6592 GB, free: 93.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.01231, allocations: 276.9 kB / 0.6594 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.01234, allocations: 107.1 kB / 0.6595 GB, free: 93.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.01241, allocations: 74.19 kB / 0.6596 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.01246, allocations: 362.8 kB / 0.66 GB, free: 92.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.01255, allocations: 80.84 kB / 0.66 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.01272, allocations: 464 kB / 0.6605 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009405/0.01366, allocations: 0.576 MB / 0.661 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01366, allocations: 0 / 0.661 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000315/0.01398, allocations: 364.7 kB / 0.6614 GB, free: 91.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.01399, allocations: 7.938 kB / 0.6614 GB, free: 91.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01399, allocations: 7.984 kB / 0.6614 GB, free: 91.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01401, allocations: 4.094 kB / 0.6614 GB, free: 91.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.0142, allocations: 95.83 kB / 0.6615 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01421, allocations: 4 kB / 0.6615 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.01436, allocations: 48.22 kB / 0.6616 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.01438, allocations: 12 kB / 0.6616 GB, free: 91.19 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.0001208/0.0145, allocations: 170.2 kB / 0.6617 GB, free: 91.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.01454, allocations: 55.67 kB / 0.6618 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.01484, allocations: 325.6 kB / 0.6621 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01485, allocations: 4 kB / 0.6621 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01485, allocations: 0 / 0.6621 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01485, allocations: 3.984 kB / 0.6621 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.01557, allocations: 0.8424 MB / 0.6629 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.01557, allocations: 4 kB / 0.6629 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.01573, allocations: 67.91 kB / 0.663 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01574, allocations: 8 kB / 0.663 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.01575, allocations: 12.34 kB / 0.663 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01575, allocations: 11.94 kB / 0.663 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01576, allocations: 7.938 kB / 0.663 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.01616, allocations: 0.5554 MB / 0.6636 GB, free: 89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.01622, allocations: 63.62 kB / 0.6636 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.01626, allocations: 16 kB / 0.6636 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.01642, allocations: 15.98 kB / 0.6637 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.01645, allocations: 31.84 kB / 0.6637 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.01646, allocations: 11.98 kB / 0.6637 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002382/0.01669, allocations: 382.9 kB / 0.6641 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01669, allocations: 0 / 0.6641 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003194/0.01701, allocations: 167.6 kB / 0.6642 GB, free: 88.33 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.0002228/0.01724, allocations: 159 kB / 0.6644 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.01752, allocations: 240.2 kB / 0.6646 GB, free: 87.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01752, allocations: 8.125 kB / 0.6646 GB, free: 87.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.01763, allocations: 116.8 kB / 0.6647 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.01803, allocations: 139 kB / 0.6649 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.01885, allocations: 0.9912 MB / 0.6658 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.948e-05/0.01895, allocations: 242.4 kB / 0.6661 GB, free: 86.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.022e-05/0.01904, allocations: 44.5 kB / 0.6661 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/0.01904, allocations: 0 / 0.6661 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.005415/0.02446, allocations: 7.438 MB / 0.6734 GB, free: 78.97 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 > OpenHPL_OpenHPL.Examples.Pipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.836506265215576]