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.0009616/0.0009616, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.9745/0.9745, allocations: 177.1 MB / 201 MB, free: 5.688 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.001462/0.001462, allocations: 168.6 kB / 257.7 MB, free: 12.96 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.2724/0.2724, allocations: 80.24 MB / 394.5 MB, free: 1.996 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.02184/0.02184, allocations: 4.8 MB / 482.6 MB, free: 3.941 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.272e-06/1.272e-06, allocations: 0 / 0.5686 GB, free: 108 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.701e-05, allocations: 10.25 kB / 0.5686 GB, free: 96 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.00396/0.003987, allocations: 3.114 MB / 0.5717 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002955/0.006942, allocations: 1.812 MB / 0.5734 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.00725, allocations: 7.938 kB / 0.5735 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009889/0.008239, allocations: 0.544 MB / 0.574 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008174/0.009056, allocations: 246.1 kB / 0.5742 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008804/0.009937, allocations: 354.9 kB / 0.5746 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00056/0.0105, allocations: 0.6804 MB / 0.5752 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.01091, allocations: 318.3 kB / 0.5755 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.01124, allocations: 379 kB / 0.5759 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.01148, allocations: 243.2 kB / 0.5761 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.01154, allocations: 52 kB / 0.5762 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.01188, allocations: 295.4 kB / 0.5764 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.01196, allocations: 135.4 kB / 0.5766 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.01208, allocations: 199.4 kB / 0.5768 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.0126, allocations: 0.6463 MB / 0.5774 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01261, allocations: 4 kB / 0.5774 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01261, allocations: 0 / 0.5774 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.01261, allocations: 0 / 0.5774 GB, free: 7.055 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.001053/0.01367, allocations: 1.065 MB / 0.5784 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.0137, allocations: 12.03 kB / 0.5785 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.01402, allocations: 116.5 kB / 0.5786 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.01434, allocations: 371.1 kB / 0.5789 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.01436, allocations: 25.03 kB / 0.5789 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.01439, allocations: 32.38 kB / 0.579 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.01471, allocations: 0.5539 MB / 0.5795 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01472, allocations: 192 / 0.5795 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.01474, allocations: 16.38 kB / 0.5795 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.01475, allocations: 15.94 kB / 0.5795 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.0149, allocations: 123 kB / 0.5797 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.01594, allocations: 1.115 MB / 0.5808 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.01612, allocations: 155.1 kB / 0.5809 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.01623, allocations: 88.11 kB / 0.581 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.01625, allocations: 7.984 kB / 0.581 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.01627, allocations: 41.39 kB / 0.581 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 1.874e-06/0.01627, allocations: 0 / 0.581 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.000305/0.01658, allocations: 241.2 kB / 0.5813 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.01666, allocations: 286.7 kB / 0.5815 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.01696, allocations: 0.5023 MB / 0.582 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.01697, allocations: 33.7 kB / 0.5821 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.01711, allocations: 335 kB / 0.5824 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.01716, allocations: 111 kB / 0.5825 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.01723, allocations: 87.77 kB / 0.5826 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.01735, allocations: 0.5351 MB / 0.5831 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.0174, allocations: 40.83 kB / 0.5831 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.0176, allocations: 464.5 kB / 0.5836 GB, free: 212 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.01787, allocations: 301.2 kB / 0.5839 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01787, allocations: 0 / 0.5839 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002569/0.01813, allocations: 281 kB / 0.5841 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01814, allocations: 10.5 kB / 0.5841 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01815, allocations: 4 kB / 0.5841 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01816, allocations: 7.938 kB / 0.5841 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.01835, allocations: 95.89 kB / 0.5842 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.01836, allocations: 4 kB / 0.5842 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.01851, allocations: 39.7 kB / 0.5843 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.01852, allocations: 12 kB / 0.5843 GB, free: 15.41 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.0001224/0.01864, allocations: 184.5 kB / 0.5845 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.0187, allocations: 71.66 kB / 0.5845 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.01894, allocations: 233.6 kB / 0.5848 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01895, allocations: 3.938 kB / 0.5848 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01895, allocations: 7.938 kB / 0.5848 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01895, allocations: 4.172 kB / 0.5848 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.01964, allocations: 0.7632 MB / 0.5855 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01964, allocations: 0 / 0.5855 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.0198, allocations: 79.84 kB / 0.5856 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01981, allocations: 4 kB / 0.5856 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.01982, allocations: 11.98 kB / 0.5856 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.01982, allocations: 4 kB / 0.5856 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01983, allocations: 4 kB / 0.5856 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.02017, allocations: 0.5107 MB / 0.5861 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.02023, allocations: 67.52 kB / 0.5862 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.02028, allocations: 15.95 kB / 0.5862 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.02043, allocations: 12 kB / 0.5862 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.02046, allocations: 35.83 kB / 0.5862 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.02047, allocations: 12 kB / 0.5863 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001794/0.02065, allocations: 334.7 kB / 0.5866 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02065, allocations: 0 / 0.5866 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003178/0.02096, allocations: 159.8 kB / 0.5867 GB, free: 12.76 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.0002097/0.02117, allocations: 174.6 kB / 0.5869 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.02139, allocations: 179.7 kB / 0.5871 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02139, allocations: 0 / 0.5871 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.02147, allocations: 88.56 kB / 0.5871 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.02186, allocations: 146.1 kB / 0.5873 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.02295, allocations: 0.9866 MB / 0.5882 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.249e-05/0.02301, allocations: 118 kB / 0.5884 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.02316, allocations: 68.39 kB / 0.5884 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.02345, allocations: 246 kB / 0.5887 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/0.02345, allocations: 4 kB / 0.5887 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.009859/0.03331, allocations: 9.781 MB / 0.5982 GB, free: 1.078 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.7578834895975888]