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.0009533/0.0009533, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.9551/0.9551, allocations: 177.1 MB / 200.3 MB, free: 5.711 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.001212/0.001212, allocations: 148.7 kB / 256.9 MB, free: 12.99 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.2868/0.2868, allocations: 80.25 MB / 393.7 MB, free: 3.035 MB / 362.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.01945/0.01945, allocations: 4.799 MB / 481.8 MB, free: 71.66 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5679 GB, free: 3.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.522e-05, allocations: 9.828 kB / 0.5679 GB, free: 3.832 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.003443/0.003469, allocations: 3.401 MB / 0.5712 GB, free: 416 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.005845, allocations: 1.906 MB / 0.5731 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.006054, allocations: 4 kB / 0.5731 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000832/0.006886, allocations: 0.6489 MB / 0.5737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.007332, allocations: 301.8 kB / 0.574 GB, free: 13.53 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007887/0.008121, allocations: 370.9 kB / 0.5743 GB, free: 13.17 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009493/0.00907, allocations: 0.828 MB / 0.5751 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.009522, allocations: 352.8 kB / 0.5755 GB, free: 11.98 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.009914, allocations: 462.7 kB / 0.5759 GB, free: 11.53 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.01017, allocations: 287.1 kB / 0.5762 GB, free: 11.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.35e-05/0.01023, allocations: 60 kB / 0.5762 GB, free: 11.19 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.01059, allocations: 307.5 kB / 0.5765 GB, free: 10.89 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.01067, allocations: 159.3 kB / 0.5767 GB, free: 10.73 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.01082, allocations: 231.3 kB / 0.5769 GB, free: 10.51 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006243/0.01144, allocations: 0.7201 MB / 0.5776 GB, free: 9.785 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01145, allocations: 0 / 0.5776 GB, free: 9.785 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01145, allocations: 8 kB / 0.5776 GB, free: 9.777 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.01145, allocations: 0 / 0.5776 GB, free: 9.777 MB / 458.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.001185/0.01264, allocations: 1.21 MB / 0.5788 GB, free: 8.504 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.01267, allocations: 12.03 kB / 0.5788 GB, free: 8.492 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.01304, allocations: 140.4 kB / 0.579 GB, free: 8.355 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.01341, allocations: 429 kB / 0.5794 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.01343, allocations: 25.38 kB / 0.5794 GB, free: 7.879 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.01347, allocations: 40.38 kB / 0.5794 GB, free: 7.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.01385, allocations: 0.619 MB / 0.58 GB, free: 7.098 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.01386, allocations: 4.172 kB / 0.58 GB, free: 7.094 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.01388, allocations: 20.38 kB / 0.5801 GB, free: 7.074 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.01389, allocations: 11.94 kB / 0.5801 GB, free: 7.062 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.01405, allocations: 126.8 kB / 0.5802 GB, free: 6.938 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.01526, allocations: 1.198 MB / 0.5814 GB, free: 5.703 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.01555, allocations: 230.6 kB / 0.5816 GB, free: 5.469 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.01566, allocations: 99.61 kB / 0.5817 GB, free: 5.367 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.01569, allocations: 11.98 kB / 0.5817 GB, free: 5.355 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.01572, allocations: 49.33 kB / 0.5817 GB, free: 5.297 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 1.453e-06/0.01572, allocations: 0 / 0.5817 GB, free: 5.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.001205/0.01692, allocations: 0.7321 MB / 0.5824 GB, free: 4.523 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.01701, allocations: 316.4 kB / 0.5827 GB, free: 4.141 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.01736, allocations: 0.5452 MB / 0.5833 GB, free: 3.578 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.01739, allocations: 33.7 kB / 0.5833 GB, free: 3.539 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.01754, allocations: 339.5 kB / 0.5836 GB, free: 3.203 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.01761, allocations: 162.6 kB / 0.5838 GB, free: 3.043 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.0177, allocations: 95.8 kB / 0.5839 GB, free: 2.941 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.01784, allocations: 0.5468 MB / 0.5844 GB, free: 2.383 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.01791, allocations: 52.95 kB / 0.5845 GB, free: 2.332 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.01812, allocations: 458.3 kB / 0.5849 GB, free: 1.766 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.01847, allocations: 315.1 kB / 0.5852 GB, free: 1.449 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01847, allocations: 0 / 0.5852 GB, free: 1.449 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003871/0.01886, allocations: 360.7 kB / 0.5855 GB, free: 1.086 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01887, allocations: 10.48 kB / 0.5856 GB, free: 1.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01888, allocations: 3.938 kB / 0.5856 GB, free: 1.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.01938, allocations: 187.5 kB / 0.5857 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.01952, allocations: 75.89 kB / 0.5858 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004765/0.01999, allocations: 0.9433 MB / 0.5867 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.02017, allocations: 19.92 kB / 0.5867 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.02018, allocations: 12 kB / 0.5868 GB, free: 15.81 MB / 474.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.0001503/0.02033, allocations: 188.4 kB / 0.5869 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.02041, allocations: 79.58 kB / 0.587 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.02085, allocations: 387.3 kB / 0.5874 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.02086, allocations: 4 kB / 0.5874 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.02086, allocations: 0 / 0.5874 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.02087, allocations: 3.984 kB / 0.5874 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009124/0.02178, allocations: 0.8374 MB / 0.5882 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02178, allocations: 4 kB / 0.5882 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.02207, allocations: 135.9 kB / 0.5883 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.02232, allocations: 99.56 kB / 0.5884 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.02234, allocations: 15.94 kB / 0.5885 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.02473, allocations: 5.724 MB / 0.594 GB, free: 7.945 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.02473, allocations: 0 / 0.594 GB, free: 7.945 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.0253, allocations: 0.5995 MB / 0.5946 GB, free: 7.309 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.02538, allocations: 75.53 kB / 0.5947 GB, free: 7.234 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.02542, allocations: 15.94 kB / 0.5947 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.0256, allocations: 16 kB / 0.5947 GB, free: 7.203 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.02564, allocations: 44.36 kB / 0.5948 GB, free: 7.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.02566, allocations: 12.19 kB / 0.5948 GB, free: 7.148 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.02588, allocations: 366.6 kB / 0.5951 GB, free: 6.793 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.02588, allocations: 8.031 kB / 0.5951 GB, free: 6.785 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004435/0.02633, allocations: 183.8 kB / 0.5953 GB, free: 6.605 MB / 474.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.0002624/0.02659, allocations: 174.4 kB / 0.5955 GB, free: 6.426 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004543/0.02704, allocations: 271.6 kB / 0.5957 GB, free: 6.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.02705, allocations: 8.125 kB / 0.5958 GB, free: 6.152 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.02746, allocations: 385.5 kB / 0.5961 GB, free: 5.754 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.02792, allocations: 171.9 kB / 0.5963 GB, free: 5.586 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.02938, allocations: 1.141 MB / 0.5974 GB, free: 4.395 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.02e-05/0.02947, allocations: 134.2 kB / 0.5975 GB, free: 4.238 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000228/0.0297, allocations: 88.89 kB / 0.5976 GB, free: 4.152 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.03008, allocations: 290 kB / 0.5979 GB, free: 3.867 MB / 474.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03008, allocations: 0 / 0.5979 GB, free: 3.867 MB / 474.7 MB Notification: Performance of Templates: time 0.01533/0.0454, allocations: 12.9 MB / 0.6105 GB, free: 7.23 MB / 490.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 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.BranchingPipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.993832640349865]