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.0009316/0.0009316, allocations: 80.94 kB / 19.94 MB, free: 4.543 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 1.064/1.064, allocations: 177.2 MB / 200.3 MB, free: 5.359 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.001121/0.001121, allocations: 174.8 kB / 257 MB, free: 12.82 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.4185/0.4185, allocations: 80.23 MB / 340.5 MB, free: 9.062 MB / 314.7 MB " [Timeout remaining time 180] 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.02159/0.02159, allocations: 4.782 MB / 375.3 MB, free: 6.996 MB / 346.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 2.014e-06/2.014e-06, allocations: 0 / 395 MB, free: 3.328 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.137e-05, allocations: 2.312 kB / 395 MB, free: 3.324 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.003277/0.003299, allocations: 3.165 MB / 398.2 MB, free: 140 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.005961, allocations: 1.869 MB / 400 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.006123, allocations: 4 kB / 400 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.006906, allocations: 0.5517 MB / 400.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.007269, allocations: 250.1 kB / 400.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.007942, allocations: 339 kB / 401.2 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005005/0.008443, allocations: 0.6835 MB / 401.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.008868, allocations: 338.2 kB / 402.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.009216, allocations: 383 kB / 402.5 MB, free: 11.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.009464, allocations: 239.2 kB / 402.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.009524, allocations: 59.98 kB / 402.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.0099, allocations: 299.5 kB / 403.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.612e-05/0.009986, allocations: 135.4 kB / 403.3 MB, free: 11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.01012, allocations: 199.4 kB / 403.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.01067, allocations: 0.6501 MB / 404.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.01068, allocations: 0 / 404.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01068, allocations: 0 / 404.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.01068, allocations: 0 / 404.1 MB, free: 10.15 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00102/0.0117, allocations: 0.9244 MB / 405 MB, free: 9.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.01173, allocations: 8.031 kB / 405 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.01208, allocations: 100.8 kB / 405.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.01241, allocations: 312.4 kB / 405.4 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.01242, allocations: 21.03 kB / 405.5 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.01246, allocations: 40.38 kB / 405.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.0128, allocations: 0.5247 MB / 406 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01281, allocations: 192 / 406 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.01283, allocations: 12.38 kB / 406 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.01284, allocations: 11.94 kB / 406 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.01299, allocations: 107.1 kB / 406.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009775/0.01397, allocations: 0.7858 MB / 406.9 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.01414, allocations: 130.4 kB / 407.1 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.01424, allocations: 76.81 kB / 407.1 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.01426, allocations: 8 kB / 407.1 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.01428, allocations: 38.56 kB / 407.2 MB, free: 6.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.01428, allocations: 0 / 407.2 MB, free: 6.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002431/0.01453, allocations: 177.5 kB / 407.4 MB, free: 6.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/0.01461, allocations: 298.6 kB / 407.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.01491, allocations: 435.2 kB / 408.1 MB, free: 5.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.01493, allocations: 37.7 kB / 408.1 MB, free: 5.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.01503, allocations: 209.7 kB / 408.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.01508, allocations: 111 kB / 408.4 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.01515, allocations: 82.11 kB / 408.5 MB, free: 5.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.01525, allocations: 366.7 kB / 408.9 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.0153, allocations: 32.86 kB / 408.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.01547, allocations: 407.2 kB / 409.3 MB, free: 4.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.01573, allocations: 266.8 kB / 409.6 MB, free: 4.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01574, allocations: 0 / 409.6 MB, free: 4.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000218/0.01595, allocations: 205.2 kB / 409.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01597, allocations: 8 kB / 409.8 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01597, allocations: 7.984 kB / 409.8 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.01599, allocations: 7.938 kB / 409.8 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.01632, allocations: 141.6 kB / 409.9 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.01632, allocations: 7.938 kB / 409.9 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.01647, allocations: 39.73 kB / 410 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01649, allocations: 12 kB / 410 MB, free: 3.801 MB / 378.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 9.879e-05/0.01658, allocations: 133.8 kB / 410.1 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.01664, allocations: 47.89 kB / 410.2 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.01686, allocations: 201.5 kB / 410.3 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.01686, allocations: 4 kB / 410.4 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.01687, allocations: 0 / 410.4 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01687, allocations: 7.938 kB / 410.4 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.01749, allocations: 0.5773 MB / 410.9 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.01749, allocations: 8 kB / 410.9 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.01773, allocations: 100.2 kB / 411 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01773, allocations: 4 kB / 411 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.01775, allocations: 11.94 kB / 411.1 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.01775, allocations: 7.984 kB / 411.1 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01776, allocations: 4 kB / 411.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.01806, allocations: 374.1 kB / 411.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.01813, allocations: 47.61 kB / 411.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.01817, allocations: 19.92 kB / 411.5 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.01831, allocations: 19.94 kB / 411.5 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.01834, allocations: 27.95 kB / 411.5 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.01835, allocations: 8 kB / 411.6 MB, free: 2.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.01851, allocations: 208.4 kB / 411.8 MB, free: 1.887 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01851, allocations: 0 / 411.8 MB, free: 1.887 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003323/0.01885, allocations: 163.7 kB / 411.9 MB, free: 1.727 MB / 378.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.0002087/0.01905, allocations: 148 kB / 412.1 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.01927, allocations: 180.8 kB / 412.2 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.01928, allocations: 4 kB / 412.2 MB, free: 1.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.01936, allocations: 84.62 kB / 412.3 MB, free: 1.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.01973, allocations: 153.2 kB / 412.5 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.02087, allocations: 0.9312 MB / 413.4 MB, free: 172 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.684e-05/0.02094, allocations: 114 kB / 413.5 MB, free: 40 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.02112, allocations: 72.59 kB / 413.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.02143, allocations: 205.2 kB / 413.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02143, allocations: 0 / 413.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of Templates: time 0.01179/0.03322, allocations: 9.766 MB / 423.6 MB, free: 6.156 MB / 394.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.Pipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.334520736243576]