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.001428/0.001428, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.9709/0.9709, allocations: 177.1 MB / 200.3 MB, free: 5.348 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.001383/0.001383, allocations: 163.4 kB / 256.9 MB, free: 12.8 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.2982/0.2982, allocations: 80.24 MB / 393.7 MB, free: 3.016 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.01942/0.01942, allocations: 4.81 MB / 481.8 MB, free: 71.64 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 2.244e-06/2.244e-06, allocations: 0 / 0.5679 GB, free: 3.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.969e-05, allocations: 6.312 kB / 0.5679 GB, free: 3.832 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.005044/0.005073, allocations: 3.413 MB / 0.5712 GB, free: 408 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003755/0.008828, allocations: 1.902 MB / 0.5731 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004833/0.009312, allocations: 4 kB / 0.5731 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.01078, allocations: 0.6528 MB / 0.5737 GB, free: 13.82 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.01201, allocations: 301.8 kB / 0.574 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.01347, allocations: 371 kB / 0.5743 GB, free: 13.16 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.01466, allocations: 0.8241 MB / 0.5751 GB, free: 12.33 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008044/0.01547, allocations: 352.8 kB / 0.5755 GB, free: 11.98 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000848/0.01632, allocations: 458.7 kB / 0.5759 GB, free: 11.53 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005223/0.01684, allocations: 287.1 kB / 0.5762 GB, free: 11.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.01701, allocations: 60 kB / 0.5762 GB, free: 11.19 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006526/0.01766, allocations: 315.5 kB / 0.5766 GB, free: 10.88 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.01779, allocations: 155.3 kB / 0.5767 GB, free: 10.73 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.01809, allocations: 235.3 kB / 0.5769 GB, free: 10.5 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.01912, allocations: 0.7201 MB / 0.5776 GB, free: 9.777 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.01913, allocations: 4 kB / 0.5776 GB, free: 9.773 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01913, allocations: 0 / 0.5776 GB, free: 9.773 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.01914, allocations: 0 / 0.5776 GB, free: 9.773 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.0013/0.02044, allocations: 1.203 MB / 0.5788 GB, free: 8.508 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.02047, allocations: 12.03 kB / 0.5788 GB, free: 8.496 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.0209, allocations: 144.4 kB / 0.579 GB, free: 8.355 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.02132, allocations: 429 kB / 0.5794 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.02134, allocations: 21.38 kB / 0.5794 GB, free: 7.883 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.02138, allocations: 44.38 kB / 0.5794 GB, free: 7.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.02178, allocations: 0.6228 MB / 0.58 GB, free: 7.094 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.02179, allocations: 192 / 0.58 GB, free: 7.094 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.02182, allocations: 16.38 kB / 0.58 GB, free: 7.078 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.02183, allocations: 11.94 kB / 0.5801 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.022, allocations: 130.8 kB / 0.5802 GB, free: 6.938 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.02326, allocations: 1.202 MB / 0.5814 GB, free: 5.699 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.02356, allocations: 230.7 kB / 0.5816 GB, free: 5.465 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.02368, allocations: 95.62 kB / 0.5817 GB, free: 5.367 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.02371, allocations: 12 kB / 0.5817 GB, free: 5.355 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.02373, allocations: 45.33 kB / 0.5817 GB, free: 5.301 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 1.372e-06/0.02373, allocations: 0 / 0.5817 GB, free: 5.301 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.00107/0.0248, allocations: 0.736 MB / 0.5824 GB, free: 4.523 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.02491, allocations: 316.4 kB / 0.5827 GB, free: 4.141 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.02532, allocations: 0.5413 MB / 0.5833 GB, free: 3.582 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.02534, allocations: 37.7 kB / 0.5833 GB, free: 3.539 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.02552, allocations: 339.5 kB / 0.5836 GB, free: 3.203 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.02561, allocations: 162.6 kB / 0.5838 GB, free: 3.043 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.02571, allocations: 99.78 kB / 0.5839 GB, free: 2.938 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.02587, allocations: 0.5468 MB / 0.5844 GB, free: 2.379 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.02597, allocations: 48.95 kB / 0.5845 GB, free: 2.332 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.02621, allocations: 458.3 kB / 0.5849 GB, free: 1.766 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.02658, allocations: 303.2 kB / 0.5852 GB, free: 1.461 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.02658, allocations: 4 kB / 0.5852 GB, free: 1.457 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004319/0.02702, allocations: 364.7 kB / 0.5855 GB, free: 1.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.02703, allocations: 8 kB / 0.5856 GB, free: 1.082 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.02704, allocations: 3.938 kB / 0.5856 GB, free: 1.078 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/0.02758, allocations: 194 kB / 0.5857 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.02772, allocations: 63.89 kB / 0.5858 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005177/0.02824, allocations: 0.9445 MB / 0.5867 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.02843, allocations: 19.94 kB / 0.5867 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.02845, allocations: 12.03 kB / 0.5868 GB, free: 15.82 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.0001621/0.02861, allocations: 196.4 kB / 0.5869 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.02869, allocations: 75.58 kB / 0.587 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.02918, allocations: 387.2 kB / 0.5874 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02918, allocations: 8 kB / 0.5874 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.02919, allocations: 0 / 0.5874 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.02919, allocations: 3.984 kB / 0.5874 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009669/0.03016, allocations: 0.8374 MB / 0.5882 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.03016, allocations: 0 / 0.5882 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.03047, allocations: 135.8 kB / 0.5883 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/0.03073, allocations: 95.66 kB / 0.5884 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.03075, allocations: 11.94 kB / 0.5884 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.03307, allocations: 5.731 MB / 0.594 GB, free: 7.949 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.03307, allocations: 0 / 0.594 GB, free: 7.949 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.03369, allocations: 0.5956 MB / 0.5946 GB, free: 7.316 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.0338, allocations: 75.53 kB / 0.5947 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.03385, allocations: 19.94 kB / 0.5947 GB, free: 7.223 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.03404, allocations: 16.03 kB / 0.5947 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.03409, allocations: 44.36 kB / 0.5948 GB, free: 7.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.03411, allocations: 8 kB / 0.5948 GB, free: 7.156 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000249/0.03436, allocations: 370.8 kB / 0.5951 GB, free: 6.797 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03436, allocations: 0 / 0.5951 GB, free: 6.797 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004897/0.03485, allocations: 183.8 kB / 0.5953 GB, free: 6.617 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.0002832/0.03513, allocations: 182.8 kB / 0.5955 GB, free: 6.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004654/0.03559, allocations: 271.6 kB / 0.5957 GB, free: 6.164 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.0356, allocations: 0 / 0.5957 GB, free: 6.164 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.03603, allocations: 389.8 kB / 0.5961 GB, free: 5.762 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.0365, allocations: 172 kB / 0.5963 GB, free: 5.594 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.03802, allocations: 1.159 MB / 0.5974 GB, free: 4.387 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.327e-05/0.0381, allocations: 134.2 kB / 0.5975 GB, free: 4.23 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.03833, allocations: 84.88 kB / 0.5976 GB, free: 4.148 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.03882, allocations: 290 kB / 0.5979 GB, free: 3.863 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03882, allocations: 4 kB / 0.5979 GB, free: 3.859 MB / 474.7 MB Notification: Performance of Templates: time 0.01592/0.05474, allocations: 12.88 MB / 0.6105 GB, free: 7.234 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 & (cd run_cvode && ../OpenHPL_OpenHPL.Examples.BranchingPipes -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHPL_OpenHPL.Examples.BranchingPipes.pipe 2>&1) [Timeout 240] (rm -f OpenHPL_OpenHPL.Examples.BranchingPipes_gbode.pipe ; mkfifo OpenHPL_OpenHPL.Examples.BranchingPipes_gbode.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.BranchingPipes_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.BranchingPipes_gbode.sim & (cd run_gbode && ../OpenHPL_OpenHPL.Examples.BranchingPipes -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHPL_OpenHPL.Examples.BranchingPipes_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHPL_OpenHPL.Examples.BranchingPipes_ida.pipe ; mkfifo OpenHPL_OpenHPL.Examples.BranchingPipes_ida.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.BranchingPipes_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHPL_OpenHPL.Examples.BranchingPipes_ida.sim & (cd run_ida && ../OpenHPL_OpenHPL.Examples.BranchingPipes -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHPL_OpenHPL.Examples.BranchingPipes_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.096773045137525]