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.001483/0.001483, allocations: 93.06 kB / 19.65 MB, free: 280 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 0.9866/0.9866, allocations: 177.2 MB / 200 MB, free: 4.414 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.001184/0.001184, allocations: 167 kB / 256.6 MB, free: 236 kB / 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.4486/0.4486, allocations: 80.21 MB / 393.4 MB, free: 10.02 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.02108/0.02108, allocations: 4.788 MB / 481.5 MB, free: 2.199 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.483e-06/1.483e-06, allocations: 0 / 0.5674 GB, free: 52.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.609e-05, allocations: 2.312 kB / 0.5674 GB, free: 52.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.002303/0.002319, allocations: 3.139 MB / 0.5705 GB, free: 49.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.004061, allocations: 1.821 MB / 0.5722 GB, free: 47.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.004196, allocations: 4 kB / 0.5722 GB, free: 47.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.004846, allocations: 0.5572 MB / 0.5728 GB, free: 46.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.005141, allocations: 254.7 kB / 0.573 GB, free: 46.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.005666, allocations: 346.9 kB / 0.5734 GB, free: 46.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.006044, allocations: 0.6919 MB / 0.574 GB, free: 45.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.006394, allocations: 306.4 kB / 0.5743 GB, free: 45.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.006681, allocations: 382.9 kB / 0.5747 GB, free: 44.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.006899, allocations: 239.2 kB / 0.5749 GB, free: 44.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.006952, allocations: 56 kB / 0.575 GB, free: 44.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.00727, allocations: 299.4 kB / 0.5753 GB, free: 44.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.00734, allocations: 135.4 kB / 0.5754 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.007461, allocations: 195.4 kB / 0.5756 GB, free: 43.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.007977, allocations: 0.6423 MB / 0.5762 GB, free: 43.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.007979, allocations: 0 / 0.5762 GB, free: 43.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00798, allocations: 0 / 0.5762 GB, free: 43.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.007985, allocations: 0 / 0.5762 GB, free: 43.32 MB / 410.7 MB 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.0009721/0.008958, allocations: 1.061 MB / 0.5772 GB, free: 42.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.008991, allocations: 8.031 kB / 0.5772 GB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.00935, allocations: 116.5 kB / 0.5774 GB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.009729, allocations: 395.1 kB / 0.5777 GB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.009757, allocations: 25.02 kB / 0.5778 GB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.009803, allocations: 36.38 kB / 0.5778 GB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.01017, allocations: 0.558 MB / 0.5783 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.01018, allocations: 192 / 0.5783 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.01021, allocations: 16.38 kB / 0.5784 GB, free: 40.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.01022, allocations: 11.94 kB / 0.5784 GB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.01045, allocations: 147.7 kB / 0.5785 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.01159, allocations: 1.18 MB / 0.5797 GB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.01183, allocations: 164.2 kB / 0.5798 GB, free: 39.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.01199, allocations: 103.6 kB / 0.5799 GB, free: 39.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.01201, allocations: 4 kB / 0.5799 GB, free: 39.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.01203, allocations: 41.58 kB / 0.58 GB, free: 39.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.323e-06/0.01203, allocations: 4 kB / 0.58 GB, free: 39.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003721/0.0124, allocations: 265.8 kB / 0.5802 GB, free: 38.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.01245, allocations: 290.7 kB / 0.5805 GB, free: 38.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.01281, allocations: 0.5221 MB / 0.581 GB, free: 38.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.01283, allocations: 33.7 kB / 0.581 GB, free: 38.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.01294, allocations: 331.1 kB / 0.5814 GB, free: 37.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.01298, allocations: 103.1 kB / 0.5814 GB, free: 37.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.01305, allocations: 87.8 kB / 0.5815 GB, free: 37.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.01313, allocations: 0.5313 MB / 0.5821 GB, free: 36.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.0132, allocations: 48.83 kB / 0.5821 GB, free: 36.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.01336, allocations: 487.7 kB / 0.5826 GB, free: 36.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.0137, allocations: 317.1 kB / 0.5829 GB, free: 35.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.0137, allocations: 0 / 0.5829 GB, free: 35.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002886/0.01399, allocations: 300.8 kB / 0.5832 GB, free: 35.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.014, allocations: 11.94 kB / 0.5832 GB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01401, allocations: 4 kB / 0.5832 GB, free: 35.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.01403, allocations: 4 kB / 0.5832 GB, free: 35.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.01422, allocations: 95.83 kB / 0.5833 GB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.01423, allocations: 8.312 kB / 0.5833 GB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.01439, allocations: 39.77 kB / 0.5833 GB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.0144, allocations: 12 kB / 0.5833 GB, free: 35.45 MB / 410.7 MB 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.0001024/0.0145, allocations: 180.5 kB / 0.5835 GB, free: 35.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.01456, allocations: 71.56 kB / 0.5836 GB, free: 35.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.01484, allocations: 266 kB / 0.5838 GB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01485, allocations: 4 kB / 0.5838 GB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.01485, allocations: 0 / 0.5838 GB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.01486, allocations: 3.984 kB / 0.5838 GB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.01556, allocations: 0.8388 MB / 0.5846 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01556, allocations: 4 kB / 0.5846 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.01573, allocations: 75.91 kB / 0.5847 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.01573, allocations: 4.344 kB / 0.5847 GB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.01575, allocations: 12 kB / 0.5847 GB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01575, allocations: 8 kB / 0.5847 GB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.01575, allocations: 11.88 kB / 0.5848 GB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.01611, allocations: 0.5244 MB / 0.5853 GB, free: 33.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.01617, allocations: 63.58 kB / 0.5853 GB, free: 33.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.01621, allocations: 16 kB / 0.5853 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.01636, allocations: 15.98 kB / 0.5854 GB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.0164, allocations: 27.91 kB / 0.5854 GB, free: 33.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.0164, allocations: 15.94 kB / 0.5854 GB, free: 33.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002355/0.01664, allocations: 370.7 kB / 0.5858 GB, free: 32.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.01664, allocations: 0 / 0.5858 GB, free: 32.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.01698, allocations: 163.7 kB / 0.5859 GB, free: 32.62 MB / 410.7 MB 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.0002352/0.01721, allocations: 177.6 kB / 0.5861 GB, free: 32.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.01748, allocations: 196.4 kB / 0.5863 GB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01748, allocations: 0 / 0.5863 GB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.849e-05/0.01757, allocations: 95.39 kB / 0.5864 GB, free: 32.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.01799, allocations: 153.7 kB / 0.5865 GB, free: 32.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.01918, allocations: 0.9983 MB / 0.5875 GB, free: 30.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.01924, allocations: 110 kB / 0.5876 GB, free: 30.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.01938, allocations: 80.38 kB / 0.5877 GB, free: 30.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.01947, allocations: 44.48 kB / 0.5877 GB, free: 30.68 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01947, allocations: 0 / 0.5877 GB, free: 30.68 MB / 410.7 MB Notification: Performance of Templates: time 0.008793/0.02826, allocations: 8.845 MB / 0.5963 GB, free: 22.05 MB / 410.7 MB " [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: 3.964581583160907]