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.001113/0.001113, allocations: 92.2 kB / 20.43 MB, free: 4.141 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.09/1.09, allocations: 177.1 MB / 200.8 MB, free: 5.816 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.001215/0.001215, allocations: 164.6 kB / 257.4 MB, free: 13.12 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.2853/0.2853, allocations: 80.24 MB / 394.1 MB, free: 2.172 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.02731/0.02731, allocations: 4.803 MB / 482.3 MB, free: 3.977 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.953e-06/1.953e-06, allocations: 0 / 0.5674 GB, free: 1.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.733e-05, allocations: 2.312 kB / 0.5674 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.004603/0.004631, allocations: 3.437 MB / 0.5707 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.007995, allocations: 1.922 MB / 0.5726 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.008299, allocations: 8 kB / 0.5726 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.009473, allocations: 0.6606 MB / 0.5732 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006728/0.01015, allocations: 293.8 kB / 0.5735 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.01331, allocations: 374.9 kB / 0.5739 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008087/0.01412, allocations: 0.8166 MB / 0.5747 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004904/0.01461, allocations: 361.1 kB / 0.575 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.015, allocations: 458.7 kB / 0.5755 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.01528, allocations: 295.1 kB / 0.5757 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.687e-05/0.01536, allocations: 64 kB / 0.5758 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.01573, allocations: 299.5 kB / 0.5761 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.01582, allocations: 155.3 kB / 0.5762 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.01599, allocations: 247.2 kB / 0.5765 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.01662, allocations: 0.7123 MB / 0.5772 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01663, allocations: 0 / 0.5772 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01663, allocations: 4 kB / 0.5772 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.01664, allocations: 0 / 0.5772 GB, free: 6.969 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.00129/0.01793, allocations: 1.195 MB / 0.5783 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.01796, allocations: 12.03 kB / 0.5784 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004219/0.01838, allocations: 140.4 kB / 0.5785 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.01886, allocations: 441.1 kB / 0.5789 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.01889, allocations: 33.31 kB / 0.5789 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.01894, allocations: 40.38 kB / 0.579 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.01943, allocations: 0.6347 MB / 0.5796 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.01944, allocations: 192 / 0.5796 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.01947, allocations: 16.38 kB / 0.5796 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.01948, allocations: 11.94 kB / 0.5796 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.01975, allocations: 173.8 kB / 0.5798 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.02112, allocations: 1.264 MB / 0.581 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.02152, allocations: 256.2 kB / 0.5813 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.02171, allocations: 114.1 kB / 0.5814 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.02173, allocations: 11.98 kB / 0.5814 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.02176, allocations: 41.39 kB / 0.5814 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 1.923e-06/0.02176, allocations: 0 / 0.5814 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.001364/0.02313, allocations: 0.8837 MB / 0.5823 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.02322, allocations: 324.3 kB / 0.5826 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.02368, allocations: 0.569 MB / 0.5832 GB, free: 436 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.02371, allocations: 37.7 kB / 0.5832 GB, free: 392 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.02387, allocations: 327.6 kB / 0.5835 GB, free: 56 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/0.02396, allocations: 174.6 kB / 0.5837 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.02405, allocations: 91.84 kB / 0.5838 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.0242, allocations: 0.5391 MB / 0.5843 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.02431, allocations: 64.95 kB / 0.5844 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.02457, allocations: 474.2 kB / 0.5848 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.02507, allocations: 359.2 kB / 0.5851 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.02508, allocations: 0 / 0.5851 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005212/0.0256, allocations: 393 kB / 0.5855 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.02561, allocations: 11.94 kB / 0.5855 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.02562, allocations: 0 / 0.5855 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/0.0262, allocations: 195.5 kB / 0.5857 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.02635, allocations: 63.91 kB / 0.5858 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005407/0.02689, allocations: 0.962 MB / 0.5867 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.02707, allocations: 20.03 kB / 0.5867 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.02709, allocations: 15.98 kB / 0.5868 GB, free: 12.54 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.0001618/0.02725, allocations: 191.2 kB / 0.5869 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.02734, allocations: 79.62 kB / 0.587 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/0.0279, allocations: 411.2 kB / 0.5874 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.0279, allocations: 8 kB / 0.5874 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.02791, allocations: 0 / 0.5874 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.02791, allocations: 4 kB / 0.5874 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.02897, allocations: 0.9384 MB / 0.5883 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.02898, allocations: 3.938 kB / 0.5883 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.02931, allocations: 127.9 kB / 0.5885 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.02959, allocations: 111.6 kB / 0.5886 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.02961, allocations: 8 kB / 0.5886 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.03191, allocations: 5.796 MB / 0.5942 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.03191, allocations: 3.938 kB / 0.5942 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.03261, allocations: 0.6502 MB / 0.5949 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.0327, allocations: 79.58 kB / 0.5949 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.03275, allocations: 12 kB / 0.595 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.03294, allocations: 19.98 kB / 0.595 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.03299, allocations: 32.44 kB / 0.595 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.03301, allocations: 15.98 kB / 0.595 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003435/0.03335, allocations: 410.7 kB / 0.5954 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03335, allocations: 0 / 0.5954 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004408/0.03379, allocations: 179.9 kB / 0.5956 GB, free: 3.023 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.0003408/0.03413, allocations: 178.5 kB / 0.5958 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005712/0.03471, allocations: 299.6 kB / 0.596 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.03471, allocations: 0 / 0.596 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.03522, allocations: 402 kB / 0.5964 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.03571, allocations: 169.5 kB / 0.5966 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.03753, allocations: 1.162 MB / 0.5977 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.03771, allocations: 283.9 kB / 0.598 GB, free: 452 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.03782, allocations: 56.47 kB / 0.598 GB, free: 396 kB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/0.03782, allocations: 3.938 kB / 0.598 GB, free: 392 kB / 0.5105 GB Notification: Performance of Templates: time 0.1609/0.1987, allocations: 13.19 MB / 0.6109 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 > OpenHPL_OpenHPL.Examples.BranchingPipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.234547468367964]