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.001493/0.001493, allocations: 80.94 kB / 19.94 MB, free: 4.547 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: 4.82 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.001917/0.001917, allocations: 163.6 kB / 257 MB, free: 12.62 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.5775/0.5775, allocations: 80.23 MB / 340.5 MB, free: 8.98 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.04517/0.04517, allocations: 4.792 MB / 375.3 MB, free: 7.004 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.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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 395 MB, free: 3.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.169e-05, allocations: 2.312 kB / 395 MB, free: 3.336 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.003275/0.003287, allocations: 3.455 MB / 398.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.005647, allocations: 1.947 MB / 400.4 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.005811, allocations: 4 kB / 400.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007713/0.006583, allocations: 0.6644 MB / 401.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.006961, allocations: 301.8 kB / 401.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.007591, allocations: 374.8 kB / 401.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.008158, allocations: 0.8196 MB / 402.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.008568, allocations: 381.4 kB / 402.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.008936, allocations: 454.9 kB / 403.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.009209, allocations: 287.1 kB / 403.6 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.009276, allocations: 64 kB / 403.7 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.009648, allocations: 319.4 kB / 404 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.009736, allocations: 155.3 kB / 404.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.009883, allocations: 235.3 kB / 404.4 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008232/0.01071, allocations: 0.7163 MB / 405.1 MB, free: 9.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.01071, allocations: 4 kB / 405.1 MB, free: 9.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01071, allocations: 3.938 kB / 405.1 MB, free: 9.148 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.01071, allocations: 4 kB / 405.1 MB, free: 9.145 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001125/0.01184, allocations: 1.055 MB / 406.2 MB, free: 8.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.01187, allocations: 8.031 kB / 406.2 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.01226, allocations: 120.8 kB / 406.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.01263, allocations: 358.3 kB / 406.7 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.01265, allocations: 33.31 kB / 406.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.01269, allocations: 40.38 kB / 406.7 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.01304, allocations: 0.587 MB / 407.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.01305, allocations: 192 / 407.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.01307, allocations: 16.38 kB / 407.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01308, allocations: 15.88 kB / 407.3 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.01323, allocations: 114.9 kB / 407.5 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/0.01422, allocations: 0.8343 MB / 408.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.01447, allocations: 211.5 kB / 408.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.01458, allocations: 88.8 kB / 408.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.0146, allocations: 8.719 kB / 408.6 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.01462, allocations: 38.56 kB / 408.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.262e-06/0.01462, allocations: 0 / 408.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008994/0.01552, allocations: 0.6488 MB / 409.3 MB, free: 4.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.0156, allocations: 320.4 kB / 409.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.0159, allocations: 467.2 kB / 410.1 MB, free: 3.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.01592, allocations: 37.7 kB / 410.1 MB, free: 3.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.01601, allocations: 214 kB / 410.3 MB, free: 3.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.01609, allocations: 166.5 kB / 410.5 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.01617, allocations: 86.12 kB / 410.5 MB, free: 3.359 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.01627, allocations: 374.7 kB / 410.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.01633, allocations: 44.91 kB / 411 MB, free: 2.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.01651, allocations: 421.6 kB / 411.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.01706, allocations: 298.5 kB / 411.7 MB, free: 2.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01707, allocations: 3.984 kB / 411.7 MB, free: 2.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003148/0.01738, allocations: 259.3 kB / 411.9 MB, free: 1.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.01739, allocations: 4 kB / 411.9 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.01739, allocations: 0 / 411.9 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.01789, allocations: 195.3 kB / 412.1 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.01806, allocations: 87.73 kB / 412.2 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003496/0.01841, allocations: 0.6498 MB / 412.8 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.01857, allocations: 16 kB / 412.9 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.01859, allocations: 19.91 kB / 412.9 MB, free: 0.8672 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: $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.0001097/0.0187, allocations: 141.7 kB / 413 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.01876, allocations: 51.94 kB / 413.1 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/0.01914, allocations: 333.4 kB / 413.4 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01914, allocations: 4 kB / 413.4 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01914, allocations: 4 kB / 413.4 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01915, allocations: 0 / 413.4 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.01989, allocations: 0.6289 MB / 414 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.0199, allocations: 0 / 414 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.02024, allocations: 159.9 kB / 414.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002335/0.02047, allocations: 96.69 kB / 414.3 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.02049, allocations: 8 kB / 414.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.02208, allocations: 3.881 MB / 418.2 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02208, allocations: 0 / 418.2 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.02254, allocations: 475.7 kB / 418.6 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.02261, allocations: 67.44 kB / 418.7 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.02266, allocations: 16 kB / 418.7 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.02283, allocations: 16 kB / 418.7 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/0.02318, allocations: 40.45 kB / 418.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.02319, allocations: 12 kB / 418.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.02338, allocations: 232.4 kB / 419 MB, free: 10.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02338, allocations: 0 / 419 MB, free: 10.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003709/0.02375, allocations: 183.9 kB / 419.2 MB, free: 10.21 MB / 394.7 MB 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.0002109/0.02396, allocations: 152.1 kB / 419.3 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.02436, allocations: 252.8 kB / 419.6 MB, free: 9.809 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.02437, allocations: 8 kB / 419.6 MB, free: 9.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.02474, allocations: 315.9 kB / 419.9 MB, free: 9.477 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.02513, allocations: 184.8 kB / 420.1 MB, free: 9.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.02635, allocations: 1.081 MB / 421.2 MB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.559e-05/0.02642, allocations: 126.4 kB / 421.3 MB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.02662, allocations: 96.91 kB / 421.4 MB, free: 7.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.02702, allocations: 249.1 kB / 421.6 MB, free: 7.695 MB / 394.7 MB Notification: Performance of SimCode: time 6.12e-07/0.02702, allocations: 0 / 421.6 MB, free: 7.695 MB / 394.7 MB Notification: Performance of Templates: time 0.01472/0.04174, allocations: 13.01 MB / 434.6 MB, free: 10.87 MB / 410.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.BranchingPipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8959526270627975]