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.001576/0.001576, 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 1.016/1.016, allocations: 177.1 MB / 200 MB, free: 5.547 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.001191/0.001191, allocations: 156.4 kB / 256.6 MB, free: 13.01 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.2712/0.2712, allocations: 80.25 MB / 393.4 MB, free: 2.164 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.03647/0.03647, allocations: 4.804 MB / 481.5 MB, free: 4.156 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.322e-06/1.322e-06, allocations: 3.938 kB / 0.5674 GB, free: 468 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.188e-05, allocations: 2.312 kB / 0.5674 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.003175/0.003197, allocations: 3.164 MB / 0.5705 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002415/0.005612, allocations: 1.816 MB / 0.5723 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.005825, allocations: 4 kB / 0.5723 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.006602, allocations: 0.5556 MB / 0.5728 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.00698, allocations: 250.1 kB / 0.573 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.007692, allocations: 339 kB / 0.5734 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006057/0.008297, allocations: 0.6882 MB / 0.574 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004496/0.008747, allocations: 314.2 kB / 0.5743 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.009118, allocations: 391 kB / 0.5747 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.009358, allocations: 231.3 kB / 0.5749 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.00942, allocations: 52 kB / 0.575 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.009799, allocations: 303.4 kB / 0.5753 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.009881, allocations: 123.4 kB / 0.5754 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.01003, allocations: 203.4 kB / 0.5756 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.01069, allocations: 0.6384 MB / 0.5762 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.01069, allocations: 0 / 0.5762 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.0107, allocations: 4 kB / 0.5762 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.0107, allocations: 0 / 0.5762 GB, free: 7.371 MB / 0.4948 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.001246/0.01195, allocations: 1.053 MB / 0.5772 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.01198, allocations: 15.97 kB / 0.5772 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003775/0.01236, allocations: 128.5 kB / 0.5774 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.01278, allocations: 383.1 kB / 0.5777 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.01281, allocations: 21.03 kB / 0.5778 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.01285, allocations: 36.38 kB / 0.5778 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.0135, allocations: 0.5697 MB / 0.5783 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.01351, allocations: 192 / 0.5783 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.01354, allocations: 12.38 kB / 0.5784 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.01355, allocations: 15.94 kB / 0.5784 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.01381, allocations: 143.8 kB / 0.5785 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.01542, allocations: 1.188 MB / 0.5797 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.01571, allocations: 175 kB / 0.5798 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.01588, allocations: 91.64 kB / 0.5799 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.0159, allocations: 7.938 kB / 0.5799 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.01593, allocations: 41.39 kB / 0.58 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.01593, allocations: 0 / 0.58 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.0004255/0.01636, allocations: 261.2 kB / 0.5802 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/0.01645, allocations: 290.7 kB / 0.5805 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/0.01688, allocations: 0.5184 MB / 0.581 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.01691, allocations: 37.69 kB / 0.581 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.01707, allocations: 323.6 kB / 0.5813 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.01712, allocations: 119.1 kB / 0.5815 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.01721, allocations: 79.81 kB / 0.5815 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.01736, allocations: 0.543 MB / 0.5821 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.01744, allocations: 48.84 kB / 0.5821 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.0177, allocations: 472.5 kB / 0.5826 GB, free: 320 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.01812, allocations: 329.5 kB / 0.5829 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.01812, allocations: 0 / 0.5829 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003473/0.01847, allocations: 296.8 kB / 0.5832 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.01849, allocations: 12.25 kB / 0.5832 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.0185, allocations: 4 kB / 0.5832 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.01851, allocations: 4 kB / 0.5832 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.01874, allocations: 107.8 kB / 0.5833 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.01875, allocations: 4 kB / 0.5833 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.01895, allocations: 31.78 kB / 0.5833 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.01896, allocations: 16 kB / 0.5833 GB, free: 15.47 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.0001422/0.01911, allocations: 187.2 kB / 0.5835 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.01917, allocations: 67.62 kB / 0.5836 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.01948, allocations: 257.5 kB / 0.5838 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.01948, allocations: 4 kB / 0.5838 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01949, allocations: 3.984 kB / 0.5838 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01949, allocations: 0 / 0.5838 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009323/0.02042, allocations: 0.8409 MB / 0.5847 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.02043, allocations: 0 / 0.5847 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.02062, allocations: 75.91 kB / 0.5847 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.02062, allocations: 4 kB / 0.5847 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.02064, allocations: 12 kB / 0.5847 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.02065, allocations: 7.938 kB / 0.5847 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.02065, allocations: 3.938 kB / 0.5848 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.02112, allocations: 0.5248 MB / 0.5853 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.0212, allocations: 71.58 kB / 0.5853 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.02125, allocations: 15.98 kB / 0.5853 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.02142, allocations: 12.19 kB / 0.5854 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.02146, allocations: 35.83 kB / 0.5854 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.02147, allocations: 19.98 kB / 0.5854 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002984/0.02177, allocations: 362.8 kB / 0.5858 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/0.02177, allocations: 0 / 0.5858 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006978/0.02247, allocations: 167.6 kB / 0.5859 GB, free: 12.66 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.0004342/0.0229, allocations: 170.9 kB / 0.5861 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.02335, allocations: 194 kB / 0.5863 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.02336, allocations: 0 / 0.5863 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.02351, allocations: 100.4 kB / 0.5864 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.02428, allocations: 146.1 kB / 0.5865 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.0263, allocations: 0.9983 MB / 0.5875 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.0264, allocations: 114 kB / 0.5876 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002617/0.02666, allocations: 72.39 kB / 0.5877 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.0268, allocations: 44.5 kB / 0.5877 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/0.02681, allocations: 0 / 0.5877 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of Templates: time 0.01536/0.04217, allocations: 9.519 MB / 0.597 GB, free: 1.395 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: 3.8721052552573383]