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.0009655/0.0009655, allocations: 100.4 kB / 19.7 MB, free: 440 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.9844/0.9844, allocations: 230.6 MB / 253.4 MB, free: 9.828 MB / 202.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.001237/0.001237, allocations: 209.4 kB / 310 MB, free: 1.934 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.4632/0.4632, allocations: 107.2 MB / 473.6 MB, free: 9.922 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.02241/0.02241, allocations: 6.294 MB / 0.5499 GB, free: 1.289 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.002243/0.002243, allocations: 138 kB / 0.7254 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3746, allocations: 81.63 MB / 0.8051 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.002801/0.3774, allocations: 3.167 MB / 0.8082 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.3796, allocations: 1.835 MB / 0.81 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.3798, allocations: 10 kB / 0.81 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007872/0.3806, allocations: 0.5937 MB / 0.8106 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.381, allocations: 282.7 kB / 0.8109 GB, free: 29.1 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000797/0.3818, allocations: 380.7 kB / 0.8112 GB, free: 28.93 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.3823, allocations: 0.7966 MB / 0.812 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.3828, allocations: 352.6 kB / 0.8123 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.383, allocations: 329.1 kB / 0.8127 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.3833, allocations: 331 kB / 0.813 GB, free: 28.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.3834, allocations: 63.34 kB / 0.813 GB, free: 28.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.3838, allocations: 303.7 kB / 0.8133 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.214e-05/0.3838, allocations: 163.4 kB / 0.8135 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.384, allocations: 286.8 kB / 0.8138 GB, free: 27.72 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006638/0.3847, allocations: 0.865 MB / 0.8146 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3847, allocations: 0 / 0.8146 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3847, allocations: 0 / 0.8146 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.3847, allocations: 0 / 0.8146 GB, free: 27.39 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.001383/0.3861, allocations: 1.094 MB / 0.8157 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3861, allocations: 11.53 kB / 0.8157 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.3865, allocations: 111.7 kB / 0.8158 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.387, allocations: 443.8 kB / 0.8162 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.387, allocations: 28.25 kB / 0.8162 GB, free: 26.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.3871, allocations: 36.38 kB / 0.8163 GB, free: 26.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.3876, allocations: 0.6942 MB / 0.8169 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3876, allocations: 3.312 kB / 0.8169 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.3876, allocations: 14.72 kB / 0.817 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3876, allocations: 8.875 kB / 0.817 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.388, allocations: 275.2 kB / 0.8172 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.3895, allocations: 1.207 MB / 0.8184 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.39, allocations: 331.2 kB / 0.8187 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3902, allocations: 169.7 kB / 0.8189 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.3902, allocations: 10.33 kB / 0.8189 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.3903, allocations: 42.48 kB / 0.8189 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/0.3903, allocations: 4 kB / 0.8189 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.001542/0.3918, allocations: 1.098 MB / 0.82 GB, free: 23.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.3919, allocations: 316.2 kB / 0.8203 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.3924, allocations: 0.5755 MB / 0.8209 GB, free: 23.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3924, allocations: 36.67 kB / 0.8209 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3925, allocations: 280.9 kB / 0.8212 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.3926, allocations: 170.6 kB / 0.8213 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.3927, allocations: 90.98 kB / 0.8214 GB, free: 22.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.3928, allocations: 369.4 kB / 0.8218 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3929, allocations: 117.7 kB / 0.8219 GB, free: 22.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.3932, allocations: 496.6 kB / 0.8224 GB, free: 21.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.3949, allocations: 0.82 MB / 0.8232 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3949, allocations: 0 / 0.8232 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005869/0.3955, allocations: 0.4981 MB / 0.8237 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3955, allocations: 5.781 kB / 0.8237 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3955, allocations: 0 / 0.8237 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/0.3961, allocations: 227.1 kB / 0.8239 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.3963, allocations: 70 kB / 0.8239 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004759/0.3968, allocations: 0.7753 MB / 0.8247 GB, free: 20.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.397, allocations: 19.83 kB / 0.8247 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.397, allocations: 18.3 kB / 0.8247 GB, free: 20.8 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.0001908/0.3972, allocations: 173.2 kB / 0.8249 GB, free: 20.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.3973, allocations: 64.22 kB / 0.825 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/0.3979, allocations: 0.5195 MB / 0.8255 GB, free: 20.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3979, allocations: 2.875 kB / 0.8255 GB, free: 20.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3979, allocations: 2.969 kB / 0.8255 GB, free: 20.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3979, allocations: 2.766 kB / 0.8255 GB, free: 20.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.3991, allocations: 0.9897 MB / 0.8264 GB, free: 19.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3991, allocations: 0.75 kB / 0.8264 GB, free: 19.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.3994, allocations: 133.8 kB / 0.8266 GB, free: 19.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.3996, allocations: 88.73 kB / 0.8267 GB, free: 19.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.3997, allocations: 12.75 kB / 0.8267 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.4014, allocations: 4.258 MB / 0.8308 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4014, allocations: 0 / 0.8308 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008381/0.4022, allocations: 0.762 MB / 0.8316 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.4023, allocations: 76.41 kB / 0.8316 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.4023, allocations: 11.86 kB / 0.8317 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.4026, allocations: 19.33 kB / 0.8317 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.4026, allocations: 40.03 kB / 0.8317 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.4026, allocations: 15.06 kB / 0.8317 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003708/0.403, allocations: 433.3 kB / 0.8321 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.403, allocations: 0 / 0.8321 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004956/0.4035, allocations: 181.9 kB / 0.8323 GB, free: 14.9 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.0003009/0.4038, allocations: 172.7 kB / 0.8325 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006449/0.4045, allocations: 372.1 kB / 0.8328 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4045, allocations: 0 / 0.8328 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.405, allocations: 371 kB / 0.8332 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.4055, allocations: 147.5 kB / 0.8333 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.407, allocations: 1.305 MB / 0.8346 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.4072, allocations: 277.7 kB / 0.8349 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.4073, allocations: 52.06 kB / 0.8349 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/0.4073, allocations: 0 / 0.8349 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.01552/0.4228, allocations: 13.21 MB / 0.8478 GB, free: 7.465 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 > OpenHPL_OpenHPL.Examples.BranchingPipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.632903152611107]