Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.OpenChannel.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.0009698/0.0009698, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.9066/0.9066, allocations: 177.1 MB / 200.2 MB, free: 5.953 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.001151/0.001151, allocations: 156.6 kB / 256.7 MB, free: 13.35 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.278/0.278, allocations: 80.25 MB / 393.4 MB, free: 2.441 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.02068/0.02068, allocations: 4.797 MB / 481.4 MB, free: 4.387 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.OpenChannel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.OpenChannel") translateModel(OpenHPL.Examples.OpenChannel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.OpenChannel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.975e-05, allocations: 2.281 kB / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.002177/0.002197, allocations: 2.908 MB / 0.6485 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.003886, allocations: 1.841 MB / 0.6503 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.004033, allocations: 4 kB / 0.6503 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.004643, allocations: 0.526 MB / 0.6508 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.004923, allocations: 245.7 kB / 0.651 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.005434, allocations: 390.3 kB / 0.6514 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000444/0.005878, allocations: 1.081 MB / 0.6525 GB, free: 101 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.006187, allocations: 346.8 kB / 0.6528 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.006496, allocations: 0.5029 MB / 0.6533 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.006776, allocations: 384.3 kB / 0.6536 GB, free: 99.77 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.006843, allocations: 87.94 kB / 0.6537 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.00713, allocations: 343.5 kB / 0.6541 GB, free: 99.35 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.007231, allocations: 228.7 kB / 0.6543 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.007373, allocations: 271.3 kB / 0.6545 GB, free: 98.86 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005616/0.007935, allocations: 1.079 MB / 0.6556 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.007937, allocations: 0 / 0.6556 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007938, allocations: 4.594 kB / 0.6556 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.007944, allocations: 0 / 0.6556 GB, free: 97.77 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001317/0.009261, allocations: 1.127 MB / 0.6567 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.009293, allocations: 12.03 kB / 0.6567 GB, free: 96.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.009566, allocations: 104.4 kB / 0.6568 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.009947, allocations: 423.5 kB / 0.6572 GB, free: 96.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.009965, allocations: 29.38 kB / 0.6572 GB, free: 96.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.01002, allocations: 52.31 kB / 0.6573 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.0106, allocations: 0.7995 MB / 0.6581 GB, free: 95.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.01062, allocations: 192 / 0.6581 GB, free: 95.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.01065, allocations: 16.38 kB / 0.6581 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.01068, allocations: 28.92 kB / 0.6581 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/0.0112, allocations: 0.5231 MB / 0.6586 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.01302, allocations: 1.857 MB / 0.6604 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.01393, allocations: 0.8482 MB / 0.6613 GB, free: 91.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.0143, allocations: 415.1 kB / 0.6617 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.01433, allocations: 5.094 kB / 0.6617 GB, free: 91.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.01435, allocations: 39.22 kB / 0.6617 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 1.573e-06/0.01435, allocations: 0 / 0.6617 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.001337/0.01569, allocations: 1.166 MB / 0.6628 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.01572, allocations: 222.2 kB / 0.6631 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.01601, allocations: 454 kB / 0.6635 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.01604, allocations: 41.7 kB / 0.6635 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.01612, allocations: 233.7 kB / 0.6637 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.0162, allocations: 249.8 kB / 0.664 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.01631, allocations: 138.6 kB / 0.6641 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.01636, allocations: 370.8 kB / 0.6645 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.01668, allocations: 333.8 kB / 0.6648 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.01705, allocations: 0.5788 MB / 0.6654 GB, free: 87.43 MB / 0.5105 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pipe.Vdot = pipe.Vdot_0 (discharge.Vdot_0 = pipe.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.02363/0.04068, allocations: 7.719 MB / 0.6729 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.04069, allocations: 0 / 0.6729 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000905/0.04159, allocations: 0.931 MB / 0.6738 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.0416, allocations: 4 kB / 0.6738 GB, free: 78.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.04161, allocations: 0 / 0.6738 GB, free: 78.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.04179, allocations: 56.8 kB / 0.6739 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.04217, allocations: 199.8 kB / 0.674 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006935/0.04287, allocations: 1.393 MB / 0.6754 GB, free: 77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.04309, allocations: 75.61 kB / 0.6755 GB, free: 76.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.04312, allocations: 24.05 kB / 0.6755 GB, free: 76.9 MB / 0.5105 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: pipe.Vdot = pipe.Vdot_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 (82): * Single equations (assignments): 81 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.04327, allocations: 201.7 kB / 0.6757 GB, free: 76.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.04334, allocations: 59.61 kB / 0.6758 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009468/0.04428, allocations: 0.9767 MB / 0.6767 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.04429, allocations: 11.98 kB / 0.6767 GB, free: 75.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.04429, allocations: 0 / 0.6767 GB, free: 75.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.04429, allocations: 3.984 kB / 0.6767 GB, free: 75.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.04546, allocations: 1.406 MB / 0.6781 GB, free: 74.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.04546, allocations: 8.031 kB / 0.6781 GB, free: 74.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.046, allocations: 227.7 kB / 0.6783 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001423/0.04614, allocations: 56.8 kB / 0.6784 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.04618, allocations: 23.98 kB / 0.6784 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.04722, allocations: 3.915 MB / 0.6822 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.04722, allocations: 0 / 0.6822 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.04831, allocations: 1.283 MB / 0.6835 GB, free: 68.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.04836, allocations: 83.34 kB / 0.6836 GB, free: 68.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.04841, allocations: 16 kB / 0.6836 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.04863, allocations: 31.97 kB / 0.6836 GB, free: 68.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.04868, allocations: 56.5 kB / 0.6837 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.04871, allocations: 28.05 kB / 0.6837 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001967/0.0489, allocations: 327.1 kB / 0.684 GB, free: 67.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.0489, allocations: 4 kB / 0.684 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003911/0.04929, allocations: 251.6 kB / 0.6842 GB, free: 67.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (reservoir.m,tail.m,openChannel.h_sec[1],openChannel.h_sec[2],openChannel.h_sec[3],openChannel.h_sec[4],openChannel.h_sec[5],openChannel.h_sec[6],openChannel.h_sec[7],openChannel.h_sec[8],openChannel.h_sec[9],openChannel.h_sec[10],pipe.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 (76): * Single equations (assignments): 73 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002602/0.04955, allocations: 189.9 kB / 0.6844 GB, free: 67.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008862/0.05044, allocations: 0.8671 MB / 0.6853 GB, free: 66.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.05044, allocations: 0 / 0.6853 GB, free: 66.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005521/0.05099, allocations: 0.557 MB / 0.6858 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.05138, allocations: 141.8 kB / 0.6859 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.05269, allocations: 1.683 MB / 0.6876 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.05282, allocations: 306.2 kB / 0.6879 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.053, allocations: 68.47 kB / 0.6879 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/0.053, allocations: 0 / 0.6879 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.008373/0.06138, allocations: 14.49 MB / 0.7021 GB, free: 49.24 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.OpenChannel.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.OpenChannel.pipe ; mkfifo OpenHPL_OpenHPL.Examples.OpenChannel.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.OpenChannel.pipe >> ../files/OpenHPL_OpenHPL.Examples.OpenChannel.sim & ./OpenHPL_OpenHPL.Examples.OpenChannel > OpenHPL_OpenHPL.Examples.OpenChannel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.426176075823605]