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.001804/0.001804, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.597/1.597, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 178] 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.0026/0.0026, allocations: 152.7 kB / 255.9 MB, free: 13.34 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.536/0.536, allocations: 80.26 MB / 392.6 MB, free: 2.418 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.03908/0.03908, allocations: 4.789 MB / 480.6 MB, free: 4.406 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.613e-06/1.613e-06, allocations: 0 / 0.6457 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.411e-05, allocations: 2.281 kB / 0.6457 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.OpenChannel): time 0.002915/0.002939, allocations: 2.904 MB / 0.6485 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.00532, allocations: 1.836 MB / 0.6503 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.005552, allocations: 5 kB / 0.6503 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.006576, allocations: 0.5321 MB / 0.6508 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.007096, allocations: 238.1 kB / 0.651 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009035/0.008, allocations: 396.4 kB / 0.6514 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006997/0.008699, allocations: 1.076 MB / 0.6525 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.009099, allocations: 346.8 kB / 0.6528 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004588/0.009558, allocations: 0.5068 MB / 0.6533 GB, free: 99.29 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.009981, allocations: 387 kB / 0.6537 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.0101, allocations: 87.94 kB / 0.6538 GB, free: 98.82 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.01057, allocations: 343.5 kB / 0.6541 GB, free: 98.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.01071, allocations: 223.2 kB / 0.6543 GB, free: 98.27 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.01094, allocations: 271.3 kB / 0.6546 GB, free: 98 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0008395/0.01178, allocations: 1.079 MB / 0.6556 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01178, allocations: 7.938 kB / 0.6556 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01178, allocations: 0 / 0.6556 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.01179, allocations: 0 / 0.6556 GB, free: 96.91 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.002395/0.01418, allocations: 1.131 MB / 0.6567 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.01422, allocations: 8.031 kB / 0.6567 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004961/0.01471, allocations: 100.4 kB / 0.6568 GB, free: 95.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.01526, allocations: 423.5 kB / 0.6572 GB, free: 95.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.01528, allocations: 29.38 kB / 0.6573 GB, free: 95.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-05/0.01537, allocations: 48.36 kB / 0.6573 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008522/0.01622, allocations: 0.7995 MB / 0.6581 GB, free: 94.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.01624, allocations: 192 / 0.6581 GB, free: 94.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.01629, allocations: 20.36 kB / 0.6581 GB, free: 94.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.01632, allocations: 32.86 kB / 0.6581 GB, free: 94.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007615/0.01708, allocations: 0.5231 MB / 0.6586 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.01988, allocations: 1.857 MB / 0.6605 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.02128, allocations: 0.8444 MB / 0.6613 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.02182, allocations: 407.1 kB / 0.6617 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.6e-05/0.02186, allocations: 13.08 kB / 0.6617 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.02189, allocations: 43.16 kB / 0.6617 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 2.605e-06/0.02189, allocations: 0 / 0.6617 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.002197/0.02409, allocations: 1.151 MB / 0.6628 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.02413, allocations: 226.2 kB / 0.6631 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.02456, allocations: 461.9 kB / 0.6635 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.02462, allocations: 41.7 kB / 0.6635 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.02472, allocations: 241.6 kB / 0.6638 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.02485, allocations: 241.9 kB / 0.664 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.02504, allocations: 138.6 kB / 0.6641 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.02511, allocations: 374.8 kB / 0.6645 GB, free: 87.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.02558, allocations: 329.8 kB / 0.6648 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.02612, allocations: 0.5749 MB / 0.6654 GB, free: 86.57 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.05689/0.08301, allocations: 7.727 MB / 0.6729 GB, free: 78.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.08302, allocations: 0 / 0.6729 GB, free: 78.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001447/0.08446, allocations: 0.9272 MB / 0.6738 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.08448, allocations: 8 kB / 0.6738 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.08449, allocations: 0 / 0.6738 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.0848, allocations: 56.75 kB / 0.6739 GB, free: 77.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.08559, allocations: 199.7 kB / 0.6741 GB, free: 77.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.08659, allocations: 1.39 MB / 0.6754 GB, free: 76.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.08712, allocations: 75.61 kB / 0.6755 GB, free: 76.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.08717, allocations: 27.92 kB / 0.6755 GB, free: 76.03 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.0002339/0.0874, allocations: 197.6 kB / 0.6757 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.08751, allocations: 59.62 kB / 0.6758 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.08903, allocations: 0.9729 MB / 0.6767 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.08904, allocations: 8 kB / 0.6767 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.08904, allocations: 0 / 0.6767 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.08905, allocations: 4.125 kB / 0.6767 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.0909, allocations: 1.418 MB / 0.6781 GB, free: 73.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.0909, allocations: 0 / 0.6781 GB, free: 73.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.09205, allocations: 235.8 kB / 0.6783 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.09233, allocations: 60.73 kB / 0.6784 GB, free: 73.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.09239, allocations: 23.98 kB / 0.6784 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.09423, allocations: 3.915 MB / 0.6823 GB, free: 68.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.09423, allocations: 320 / 0.6823 GB, free: 68.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.09594, allocations: 1.283 MB / 0.6835 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.09605, allocations: 75.44 kB / 0.6836 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.474e-05/0.09614, allocations: 23.92 kB / 0.6836 GB, free: 67.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.09662, allocations: 27.98 kB / 0.6836 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.651e-05/0.09672, allocations: 56.55 kB / 0.6837 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.09676, allocations: 19.98 kB / 0.6837 GB, free: 67.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003052/0.09706, allocations: 331.1 kB / 0.684 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.09706, allocations: 0 / 0.684 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006599/0.09772, allocations: 247.7 kB / 0.6842 GB, free: 66.71 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.0003589/0.09808, allocations: 193.2 kB / 0.6844 GB, free: 66.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.09949, allocations: 0.867 MB / 0.6853 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.09949, allocations: 128 / 0.6853 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009954/0.1005, allocations: 0.5607 MB / 0.6858 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.1012, allocations: 148.3 kB / 0.686 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.1031, allocations: 1.67 MB / 0.6876 GB, free: 63.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.1033, allocations: 314.9 kB / 0.6879 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004771/0.1037, allocations: 169 kB / 0.6881 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.104, allocations: 80.45 kB / 0.6881 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.104, allocations: 0 / 0.6881 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.01736/0.1214, allocations: 13.5 MB / 0.7013 GB, free: 49.31 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.OpenChannel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.950121493078768]