Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.BranchingPipes.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.00174/0.00174, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.647/1.647, allocations: 230.6 MB / 252.7 MB, free: 9.824 MB / 202.7 MB " [Timeout remaining time 178] 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.002105/0.002105, allocations: 207.4 kB / 309.2 MB, free: 1.922 MB / 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.6683/0.6683, allocations: 107.2 MB / 472.8 MB, free: 9.898 MB / 330.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.045/0.045, allocations: 6.298 MB / 0.5492 GB, free: 1.281 MB / 410.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.BranchingPipes,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.BranchingPipes") translateModel(OpenHPL.Examples.BranchingPipes,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.BranchingPipes") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package OpenIPSL of version 3.0.0. OpenIPSL 3.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.006305/0.006305, allocations: 131.8 kB / 0.7254 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4045, allocations: 81.65 MB / 0.8052 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.00345/0.408, allocations: 3.175 MB / 0.8083 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.4107, allocations: 1.828 MB / 0.81 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.4109, allocations: 3.312 kB / 0.81 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.412, allocations: 0.6041 MB / 0.8106 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005187/0.4125, allocations: 285.4 kB / 0.8109 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.4133, allocations: 370.9 kB / 0.8113 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000552/0.4138, allocations: 0.7877 MB / 0.812 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004547/0.4143, allocations: 356.5 kB / 0.8124 GB, free: 28.69 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.4146, allocations: 326.7 kB / 0.8127 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.4149, allocations: 335.7 kB / 0.813 GB, free: 28.39 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.522e-05/0.415, allocations: 66.25 kB / 0.8131 GB, free: 28.39 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.4155, allocations: 306.7 kB / 0.8134 GB, free: 28.33 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.4156, allocations: 154 kB / 0.8135 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.4158, allocations: 283.1 kB / 0.8138 GB, free: 28.07 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008233/0.4166, allocations: 0.8703 MB / 0.8146 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4166, allocations: 0 / 0.8146 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4166, allocations: 0 / 0.8146 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.4166, allocations: 0 / 0.8146 GB, free: 27.73 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001976/0.4186, allocations: 1.099 MB / 0.8157 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4186, allocations: 9.812 kB / 0.8157 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006551/0.4193, allocations: 115 kB / 0.8158 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.4199, allocations: 446 kB / 0.8162 GB, free: 26.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.4199, allocations: 28.91 kB / 0.8163 GB, free: 26.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.4199, allocations: 34.41 kB / 0.8163 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.4206, allocations: 0.6865 MB / 0.817 GB, free: 26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4206, allocations: 0 / 0.817 GB, free: 26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.4206, allocations: 18.44 kB / 0.817 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.4206, allocations: 10.48 kB / 0.817 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.4211, allocations: 277.8 kB / 0.8173 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.423, allocations: 1.204 MB / 0.8184 GB, free: 25.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.4236, allocations: 334.7 kB / 0.8188 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.4239, allocations: 175.4 kB / 0.8189 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.4239, allocations: 10.98 kB / 0.8189 GB, free: 24.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.424, allocations: 48.52 kB / 0.819 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=44): time 1.513e-06/0.424, allocations: 0 / 0.819 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.001919/0.4259, allocations: 1.094 MB / 0.8201 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.426, allocations: 319.8 kB / 0.8204 GB, free: 23.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.4266, allocations: 0.5733 MB / 0.8209 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.4266, allocations: 37.47 kB / 0.821 GB, free: 23.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.4267, allocations: 283.6 kB / 0.8212 GB, free: 23.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.4268, allocations: 167.6 kB / 0.8214 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.427, allocations: 87 kB / 0.8215 GB, free: 23.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.4271, allocations: 368.8 kB / 0.8218 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.4273, allocations: 124.4 kB / 0.8219 GB, free: 22.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.4276, allocations: 492.8 kB / 0.8224 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/0.4305, allocations: 0.8221 MB / 0.8232 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4305, allocations: 3.125 kB / 0.8232 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008006/0.4313, allocations: 498.6 kB / 0.8237 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4314, allocations: 14.88 kB / 0.8237 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4314, allocations: 0.6562 kB / 0.8237 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.4324, allocations: 225.6 kB / 0.8239 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.4327, allocations: 66.53 kB / 0.824 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006175/0.4333, allocations: 0.7822 MB / 0.8247 GB, free: 21.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.4337, allocations: 24.11 kB / 0.8248 GB, free: 21.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.4338, allocations: 15.09 kB / 0.8248 GB, free: 21.13 MB / 0.5261 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.branch1.mdot = 0.0 $DER.mainPipeOut.mdot = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.434, allocations: 170.7 kB / 0.8249 GB, free: 20.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.323e-05/0.4341, allocations: 68.33 kB / 0.825 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009645/0.435, allocations: 0.5075 MB / 0.8255 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.435, allocations: 3.766 kB / 0.8255 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4351, allocations: 3.156 kB / 0.8255 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4351, allocations: 2.344 kB / 0.8255 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.4367, allocations: 0.992 MB / 0.8265 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4367, allocations: 5.547 kB / 0.8265 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/0.4373, allocations: 130.2 kB / 0.8266 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.4377, allocations: 83.14 kB / 0.8267 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.4377, allocations: 17.53 kB / 0.8267 GB, free: 20.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/0.4401, allocations: 4.25 MB / 0.8309 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4401, allocations: 3.188 kB / 0.8309 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.4412, allocations: 0.7571 MB / 0.8316 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4414, allocations: 77.95 kB / 0.8317 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.021e-05/0.4415, allocations: 18.09 kB / 0.8317 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.4419, allocations: 22.14 kB / 0.8317 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.442, allocations: 44.16 kB / 0.8318 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.442, allocations: 15.55 kB / 0.8318 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004915/0.4425, allocations: 427.9 kB / 0.8322 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4425, allocations: 0 / 0.8322 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006408/0.4432, allocations: 180.5 kB / 0.8324 GB, free: 15.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (reservoir.m,reservoir1.m,branch2.mdot,mainPipeOut.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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003437/0.4435, allocations: 170.2 kB / 0.8325 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009147/0.4444, allocations: 383.2 kB / 0.8329 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4444, allocations: 0 / 0.8329 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008199/0.4452, allocations: 369.2 kB / 0.8332 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.446, allocations: 154.5 kB / 0.8334 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.4477, allocations: 1.283 MB / 0.8346 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.448, allocations: 291.1 kB / 0.8349 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003691/0.4484, allocations: 84.3 kB / 0.835 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.4486, allocations: 61.52 kB / 0.8351 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of SimCode: time 4.11e-07/0.4486, allocations: 0 / 0.8351 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.02102/0.4696, allocations: 12.74 MB / 0.8475 GB, free: 8.254 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.BranchingPipes.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.BranchingPipes.pipe ; mkfifo OpenHPL_OpenHPL.Examples.BranchingPipes.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.BranchingPipes.pipe >> ../files/OpenHPL_OpenHPL.Examples.BranchingPipes.sim & ./OpenHPL_OpenHPL.Examples.BranchingPipes -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.BranchingPipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.896382863167673]