Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.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.001313/0.001313, allocations: 73.88 kB / 20.65 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.9438/0.9438, allocations: 177.2 MB / 201.1 MB, free: 5.652 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.001281/0.001281, allocations: 160.6 kB / 257.7 MB, free: 12.93 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.2924/0.2924, allocations: 80.24 MB / 394.5 MB, free: 3.023 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.02021/0.02021, allocations: 4.795 MB / 482.6 MB, free: 71.61 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.SimpleValveWithCreek,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValveWithCreek") translateModel(OpenHPL.Examples.SimpleValveWithCreek,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValveWithCreek") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.5686 GB, free: 3.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.165e-05, allocations: 6.25 kB / 0.5686 GB, free: 3.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.004969/0.00499, allocations: 5.022 MB / 0.5735 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004435/0.009425, allocations: 3.111 MB / 0.5766 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004319/0.009857, allocations: 7.938 kB / 0.5766 GB, free: 11.63 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.01109, allocations: 1.154 MB / 0.5777 GB, free: 10.47 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006571/0.01175, allocations: 480.4 kB / 0.5782 GB, free: 9.996 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.01321, allocations: 0.8181 MB / 0.579 GB, free: 9.176 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.01426, allocations: 1.377 MB / 0.5803 GB, free: 7.793 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008212/0.01508, allocations: 0.5657 MB / 0.5809 GB, free: 7.215 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005428/0.01563, allocations: 0.7362 MB / 0.5816 GB, free: 6.477 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.01603, allocations: 470.5 kB / 0.582 GB, free: 6.016 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.01614, allocations: 104 kB / 0.5821 GB, free: 5.914 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.01657, allocations: 351.5 kB / 0.5825 GB, free: 5.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.01672, allocations: 266.8 kB / 0.5827 GB, free: 5.309 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.01697, allocations: 390.8 kB / 0.5831 GB, free: 4.926 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008221/0.0178, allocations: 1.028 MB / 0.5841 GB, free: 3.895 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.0178, allocations: 4 kB / 0.5841 GB, free: 3.891 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.0178, allocations: 0 / 0.5841 GB, free: 3.891 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.01781, allocations: 0 / 0.5841 GB, free: 3.891 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001682/0.01949, allocations: 1.646 MB / 0.5857 GB, free: 2.176 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.01952, allocations: 8.031 kB / 0.5857 GB, free: 2.168 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/0.01999, allocations: 220.1 kB / 0.5859 GB, free: 1.953 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.02055, allocations: 0.5869 MB / 0.5865 GB, free: 1.336 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.453e-05/0.02059, allocations: 50.38 kB / 0.5865 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.02066, allocations: 76.38 kB / 0.5866 GB, free: 1.211 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.02165, allocations: 1.048 MB / 0.5876 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.02167, allocations: 0 / 0.5876 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.02172, allocations: 36 kB / 0.5877 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.02173, allocations: 19.94 kB / 0.5877 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.02204, allocations: 252.8 kB / 0.5879 GB, free: 15.67 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.0242, allocations: 2.547 MB / 0.5904 GB, free: 13.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.02462, allocations: 387.4 kB / 0.5908 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.02479, allocations: 158.1 kB / 0.5909 GB, free: 12.51 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/0.02511, allocations: 121.7 kB / 0.5911 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.02514, allocations: 50.05 kB / 0.5911 GB, free: 12.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 2.625e-06/0.02514, allocations: 0 / 0.5911 GB, free: 12.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=85): time 0.001854/0.02699, allocations: 1.355 MB / 0.5924 GB, free: 10.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.02711, allocations: 398.5 kB / 0.5928 GB, free: 10.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/0.02766, allocations: 0.7606 MB / 0.5936 GB, free: 9.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.02769, allocations: 45.7 kB / 0.5936 GB, free: 9.629 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.02793, allocations: 0.4916 MB / 0.5941 GB, free: 9.129 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.02838, allocations: 309.3 kB / 0.5944 GB, free: 8.824 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.02854, allocations: 168.2 kB / 0.5945 GB, free: 8.652 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.02866, allocations: 0.5081 MB / 0.595 GB, free: 8.137 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.02879, allocations: 105.9 kB / 0.5951 GB, free: 8.031 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.02912, allocations: 0.674 MB / 0.5958 GB, free: 7.191 MB / 474.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: penstock.Vdot = penstock.Vdot_0 (discharge.Vdot_0 = penstock.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = surgeTank.Vdot_0 (tunnel2.Vdot_0 - discharge.Vdot_0 = surgeTank.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: creekIntake.Vdot = creekIntake.Vdot_0 (tunnel1.Vdot_0 - tunnel2.Vdot_0 = creekIntake.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.03039, allocations: 1.067 MB / 0.5968 GB, free: 6.102 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.03039, allocations: 0 / 0.5968 GB, free: 6.102 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0007602/0.03115, allocations: 0.6797 MB / 0.5975 GB, free: 5.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.03116, allocations: 4 kB / 0.5975 GB, free: 5.406 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.03117, allocations: 4 kB / 0.5975 GB, free: 5.402 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.03157, allocations: 163.7 kB / 0.5977 GB, free: 5.238 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.03193, allocations: 175.8 kB / 0.5978 GB, free: 5.066 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.03368, allocations: 2.633 MB / 0.6004 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.03397, allocations: 32.03 kB / 0.6004 GB, free: 2.293 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.034, allocations: 23.98 kB / 0.6005 GB, free: 2.27 MB / 474.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0 creekIntake.Vdot = creekIntake.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (91): * Single equations (assignments): 90 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.03418, allocations: 211.9 kB / 0.6007 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.03431, allocations: 139.2 kB / 0.6008 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.03539, allocations: 0.656 MB / 0.6014 GB, free: 1.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.03539, allocations: 8 kB / 0.6014 GB, free: 1.242 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.03539, allocations: 4 kB / 0.6014 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.0354, allocations: 3.984 kB / 0.6014 GB, free: 1.234 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.03662, allocations: 1.162 MB / 0.6026 GB, free: 24 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.03662, allocations: 0 / 0.6026 GB, free: 24 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.03708, allocations: 195.8 kB / 0.6028 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.03746, allocations: 185.9 kB / 0.6029 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.03749, allocations: 19.98 kB / 0.603 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/0.04043, allocations: 6.208 MB / 0.609 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.04043, allocations: 4 kB / 0.609 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.04136, allocations: 0.9329 MB / 0.6099 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.04157, allocations: 175.2 kB / 0.6101 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/0.04166, allocations: 35.86 kB / 0.6101 GB, free: 7.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.04193, allocations: 24 kB / 0.6102 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.04201, allocations: 72.86 kB / 0.6102 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.04203, allocations: 16 kB / 0.6102 GB, free: 7.797 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003246/0.04236, allocations: 0.4987 MB / 0.6107 GB, free: 7.301 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.04236, allocations: 0 / 0.6107 GB, free: 7.301 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005742/0.04293, allocations: 295.9 kB / 0.611 GB, free: 7.012 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (reservoir.m,tunnel1.mdot,discharge.mdot,tail.m,creekIntake.m,tunnel2.mdot,surgeTank.m) * 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 (72): * Single equations (assignments): 69 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002565/0.04319, allocations: 186.9 kB / 0.6112 GB, free: 6.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008116/0.044, allocations: 0.704 MB / 0.6119 GB, free: 6.098 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.044, allocations: 0 / 0.6119 GB, free: 6.098 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006445/0.04465, allocations: 0.5623 MB / 0.6124 GB, free: 5.516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006395/0.04529, allocations: 291.6 kB / 0.6127 GB, free: 5.238 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.0473, allocations: 1.809 MB / 0.6145 GB, free: 3.375 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.04742, allocations: 197.5 kB / 0.6147 GB, free: 3.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.04772, allocations: 135.8 kB / 0.6148 GB, free: 3.023 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/0.04849, allocations: 409.9 kB / 0.6152 GB, free: 2.621 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.04849, allocations: 0 / 0.6152 GB, free: 2.621 MB / 490.7 MB Notification: Performance of Templates: time 0.1749/0.2234, allocations: 20.52 MB / 0.6352 GB, free: 126.7 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe ; mkfifo OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe >> ../files/OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.sim & ./OpenHPL_OpenHPL.Examples.SimpleValveWithCreek -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.272450762335211]