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.0009411/0.0009411, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.9351/0.9351, allocations: 177.2 MB / 200.3 MB, free: 5.355 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.001422/0.001422, allocations: 167.3 kB / 256.9 MB, free: 12.79 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.2792/0.2792, allocations: 80.24 MB / 393.7 MB, free: 3.012 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.02718/0.02718, allocations: 4.796 MB / 481.8 MB, free: 71.6 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.412e-06/1.412e-06, allocations: 0 / 0.5679 GB, free: 3.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.14e-05, allocations: 2.312 kB / 0.5679 GB, free: 3.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.004541/0.004562, allocations: 5.026 MB / 0.5728 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004761/0.009323, allocations: 3.107 MB / 0.5758 GB, free: 11.62 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005983/0.009922, allocations: 15.94 kB / 0.5758 GB, free: 11.61 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.01121, allocations: 1.146 MB / 0.5769 GB, free: 10.46 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008448/0.01205, allocations: 484.4 kB / 0.5774 GB, free: 9.98 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.01402, allocations: 0.8181 MB / 0.5782 GB, free: 9.16 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.01521, allocations: 1.377 MB / 0.5796 GB, free: 7.777 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.01595, allocations: 0.5617 MB / 0.5801 GB, free: 7.203 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007718/0.01672, allocations: 0.7401 MB / 0.5808 GB, free: 6.461 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000481/0.01721, allocations: 466.5 kB / 0.5813 GB, free: 6.004 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.01734, allocations: 108 kB / 0.5814 GB, free: 5.898 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.01786, allocations: 351.5 kB / 0.5817 GB, free: 5.555 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.01801, allocations: 266.7 kB / 0.582 GB, free: 5.293 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.0183, allocations: 398.8 kB / 0.5823 GB, free: 4.902 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009481/0.01925, allocations: 1.02 MB / 0.5833 GB, free: 3.879 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.01925, allocations: 4 kB / 0.5833 GB, free: 3.875 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01926, allocations: 0 / 0.5833 GB, free: 3.875 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.01928, allocations: 0 / 0.5833 GB, free: 3.875 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.001813/0.02109, allocations: 1.646 MB / 0.5849 GB, free: 2.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.02113, allocations: 12.03 kB / 0.585 GB, free: 2.148 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.0216, allocations: 220.1 kB / 0.5852 GB, free: 1.934 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.02217, allocations: 0.583 MB / 0.5857 GB, free: 1.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.02221, allocations: 50.38 kB / 0.5858 GB, free: 1.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.02228, allocations: 80.36 kB / 0.5859 GB, free: 1.191 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.02304, allocations: 1.044 MB / 0.5869 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.02307, allocations: 7.984 kB / 0.5869 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.02311, allocations: 32 kB / 0.5869 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.02313, allocations: 16 kB / 0.5869 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.02344, allocations: 248.8 kB / 0.5872 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.02572, allocations: 2.547 MB / 0.5897 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.02613, allocations: 393.2 kB / 0.59 GB, free: 12.65 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.02628, allocations: 154.1 kB / 0.5902 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.0266, allocations: 121.7 kB / 0.5903 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.02663, allocations: 50.05 kB / 0.5903 GB, free: 12.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 2.014e-06/0.02663, allocations: 0 / 0.5903 GB, free: 12.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=85): time 0.001793/0.02842, allocations: 1.354 MB / 0.5917 GB, free: 10.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/0.02865, allocations: 394.5 kB / 0.592 GB, free: 10.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.02918, allocations: 0.7645 MB / 0.5928 GB, free: 9.664 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.02922, allocations: 45.7 kB / 0.5928 GB, free: 9.613 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.02944, allocations: 0.4955 MB / 0.5933 GB, free: 9.109 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.02959, allocations: 305.3 kB / 0.5936 GB, free: 8.809 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.02974, allocations: 172.2 kB / 0.5938 GB, free: 8.633 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.02986, allocations: 0.512 MB / 0.5943 GB, free: 8.113 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.02999, allocations: 97.91 kB / 0.5944 GB, free: 8.016 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.03031, allocations: 0.6741 MB / 0.595 GB, free: 7.176 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.001473/0.03178, allocations: 1.065 MB / 0.5961 GB, free: 6.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.03179, allocations: 4 kB / 0.5961 GB, free: 6.086 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0007378/0.03253, allocations: 0.6758 MB / 0.5967 GB, free: 5.398 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.03255, allocations: 8 kB / 0.5967 GB, free: 5.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.03255, allocations: 0 / 0.5967 GB, free: 5.391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.033, allocations: 169.9 kB / 0.5969 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.03444, allocations: 175.8 kB / 0.5971 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.03622, allocations: 2.643 MB / 0.5996 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.03662, allocations: 31.98 kB / 0.5997 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.03665, allocations: 20 kB / 0.5997 GB, free: 2.25 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.0002188/0.03687, allocations: 214.6 kB / 0.5999 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.03704, allocations: 139.2 kB / 0.6 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.03795, allocations: 0.6521 MB / 0.6007 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.03796, allocations: 8 kB / 0.6007 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.03797, allocations: 7.938 kB / 0.6007 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.03797, allocations: 3.984 kB / 0.6007 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.03921, allocations: 1.166 MB / 0.6018 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.03922, allocations: 0 / 0.6018 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.03964, allocations: 191.8 kB / 0.602 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/0.04002, allocations: 181.7 kB / 0.6022 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.04005, allocations: 20 kB / 0.6022 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.04271, allocations: 6.222 MB / 0.6083 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.04271, allocations: 0 / 0.6083 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.04368, allocations: 0.9367 MB / 0.6092 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.04392, allocations: 175.2 kB / 0.6094 GB, free: 7.906 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-05/0.04399, allocations: 27.88 kB / 0.6094 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.04425, allocations: 36.02 kB / 0.6094 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.04433, allocations: 60.88 kB / 0.6095 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.04436, allocations: 19.98 kB / 0.6095 GB, free: 7.766 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003403/0.0447, allocations: 0.4909 MB / 0.61 GB, free: 7.277 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0447, allocations: 0 / 0.61 GB, free: 7.277 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006402/0.04534, allocations: 299.9 kB / 0.6103 GB, free: 6.984 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.0002683/0.0456, allocations: 182.9 kB / 0.6104 GB, free: 6.797 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008257/0.04643, allocations: 0.704 MB / 0.6111 GB, free: 6.074 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.04643, allocations: 4.438 kB / 0.6111 GB, free: 6.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006219/0.04706, allocations: 0.5657 MB / 0.6117 GB, free: 5.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.0477, allocations: 287.3 kB / 0.612 GB, free: 5.211 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.04978, allocations: 1.813 MB / 0.6137 GB, free: 3.348 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.04991, allocations: 189.5 kB / 0.6139 GB, free: 3.141 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003494/0.05026, allocations: 139.8 kB / 0.614 GB, free: 3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005427/0.0508, allocations: 405.9 kB / 0.6144 GB, free: 2.602 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0508, allocations: 4 kB / 0.6144 GB, free: 2.598 MB / 490.7 MB Notification: Performance of Templates: time 0.1672/0.218, allocations: 20.04 MB / 0.634 GB, free: 126.8 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.311544820200652]