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.001065/0.001065, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.9952/0.9952, allocations: 177.2 MB / 201 MB, free: 5.723 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.00208/0.00208, allocations: 156.6 kB / 257.7 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.2784/0.2784, allocations: 80.25 MB / 394.5 MB, free: 2 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.02072/0.02072, allocations: 4.802 MB / 482.6 MB, free: 3.961 MB / 394.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.664e-06/1.664e-06, allocations: 3.938 kB / 0.5686 GB, free: 120 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.612e-05, allocations: 6.25 kB / 0.5686 GB, free: 112 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.002837/0.002853, allocations: 3.401 MB / 0.572 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.00491, allocations: 1.906 MB / 0.5738 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.005063, allocations: 7.938 kB / 0.5738 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007304/0.005794, allocations: 0.6411 MB / 0.5745 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.006137, allocations: 293.8 kB / 0.5747 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.006712, allocations: 386.8 kB / 0.5751 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.007256, allocations: 0.8205 MB / 0.5759 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000417/0.007672, allocations: 357.1 kB / 0.5763 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.008046, allocations: 450.9 kB / 0.5767 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.008307, allocations: 291.1 kB / 0.577 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.008369, allocations: 64 kB / 0.577 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.008681, allocations: 303.4 kB / 0.5773 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.008768, allocations: 159.3 kB / 0.5775 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.008963, allocations: 239.3 kB / 0.5777 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006898/0.009653, allocations: 0.7202 MB / 0.5784 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.009655, allocations: 0 / 0.5784 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.009656, allocations: 0 / 0.5784 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.009662, allocations: 3.938 kB / 0.5784 GB, free: 6.062 MB / 0.4948 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.001283/0.01095, allocations: 1.21 MB / 0.5796 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.01098, allocations: 12.03 kB / 0.5796 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.01138, allocations: 140.4 kB / 0.5797 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.01178, allocations: 425 kB / 0.5801 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.0118, allocations: 29.38 kB / 0.5802 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.01186, allocations: 40.38 kB / 0.5802 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.01227, allocations: 0.6112 MB / 0.5808 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.01229, allocations: 4.188 kB / 0.5808 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.01231, allocations: 16.38 kB / 0.5808 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.01232, allocations: 19.92 kB / 0.5808 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.01249, allocations: 130.8 kB / 0.581 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.01373, allocations: 1.194 MB / 0.5821 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.01404, allocations: 228.1 kB / 0.5823 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.01416, allocations: 97.81 kB / 0.5824 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.01418, allocations: 8 kB / 0.5824 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.01421, allocations: 41.39 kB / 0.5825 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 1.613e-06/0.01421, allocations: 0 / 0.5825 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.001015/0.01522, allocations: 0.7359 MB / 0.5832 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.01532, allocations: 332.4 kB / 0.5835 GB, free: 436 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.0157, allocations: 0.5413 MB / 0.584 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.01572, allocations: 29.7 kB / 0.5841 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.0159, allocations: 335.5 kB / 0.5844 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/0.01598, allocations: 166.5 kB / 0.5846 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.63e-05/0.01607, allocations: 99.78 kB / 0.5846 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.01624, allocations: 0.5507 MB / 0.5852 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.01631, allocations: 48.95 kB / 0.5852 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.01652, allocations: 450.4 kB / 0.5857 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.01688, allocations: 315.1 kB / 0.586 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01688, allocations: 0 / 0.586 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004147/0.01729, allocations: 368.9 kB / 0.5863 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.0173, allocations: 4 kB / 0.5863 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01731, allocations: 3.938 kB / 0.5863 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.01782, allocations: 195.4 kB / 0.5865 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.01796, allocations: 71.89 kB / 0.5866 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005006/0.01846, allocations: 0.9388 MB / 0.5875 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.01864, allocations: 19.98 kB / 0.5875 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.01866, allocations: 15.98 kB / 0.5875 GB, free: 12.09 MB / 0.5105 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.0001722/0.01883, allocations: 188.4 kB / 0.5877 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.01892, allocations: 83.58 kB / 0.5878 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.01938, allocations: 379.3 kB / 0.5882 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01939, allocations: 4 kB / 0.5882 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01939, allocations: 4.031 kB / 0.5882 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.0194, allocations: 3.984 kB / 0.5882 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/0.02033, allocations: 0.8412 MB / 0.589 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.02033, allocations: 4 kB / 0.589 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.02063, allocations: 132 kB / 0.5891 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.02089, allocations: 95.58 kB / 0.5892 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.02091, allocations: 19.92 kB / 0.5892 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.0231, allocations: 5.716 MB / 0.5948 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.0231, allocations: 7.984 kB / 0.5948 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.02366, allocations: 0.6073 MB / 0.5954 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.02374, allocations: 71.58 kB / 0.5955 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.02379, allocations: 19.89 kB / 0.5955 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.02397, allocations: 16 kB / 0.5955 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.02401, allocations: 36.42 kB / 0.5955 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.02402, allocations: 12 kB / 0.5956 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000218/0.02424, allocations: 370.6 kB / 0.5959 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/0.02424, allocations: 0 / 0.5959 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003863/0.02463, allocations: 187.8 kB / 0.5961 GB, free: 2.891 MB / 0.5105 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.0002337/0.02486, allocations: 178.8 kB / 0.5963 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004294/0.02529, allocations: 263.7 kB / 0.5965 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02529, allocations: 0 / 0.5965 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.0257, allocations: 382 kB / 0.5969 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.02613, allocations: 176.1 kB / 0.597 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.02742, allocations: 1.141 MB / 0.5982 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.506e-05/0.02749, allocations: 138.1 kB / 0.5983 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.02771, allocations: 88.89 kB / 0.5984 GB, free: 452 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/0.02808, allocations: 290 kB / 0.5986 GB, free: 160 kB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/0.02808, allocations: 0 / 0.5986 GB, free: 160 kB / 0.5105 GB Notification: Performance of Templates: time 0.1592/0.1873, allocations: 13.18 MB / 0.6115 GB, free: 164.4 MB / 0.5105 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: 4.071877669077367]