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.0007447/0.0007447, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001818, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9856/0.9856, allocations: 177.2 MB / 188.2 MB, free: 4.5 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1641/1.15, allocations: 53.65 MB / 241.9 MB, free: 2.75 MB / 234.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.000904/0.000904, allocations: 147.7 kB / 242.8 MB, free: 1.891 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002009/0.002913, allocations: 478.7 kB / 243.2 MB, free: 1.441 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4388/0.4388, allocations: 89.05 MB / 333 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04131/0.4801, allocations: 30.21 MB / 363.2 MB, free: 3.191 MB / 346.7 MB " [Timeout remaining time 180] 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.02203/0.02203, allocations: 4.792 MB / 368.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003512/0.02554, allocations: 1.925 MB / 370.7 MB, free: 11.92 MB / 362.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.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.302e-06/1.302e-06, allocations: 0 / 372 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.181e-05, allocations: 2.312 kB / 372 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.006493/0.006515, allocations: 5.095 MB / 377.1 MB, free: 5.504 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006198/0.01271, allocations: 3.197 MB / 380.3 MB, free: 2.289 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007793/0.01349, allocations: 8 kB / 380.3 MB, free: 2.281 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.01508, allocations: 1.173 MB / 381.5 MB, free: 1.102 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.01619, allocations: 484.4 kB / 381.9 MB, free: 0.625 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.0177, allocations: 0.783 MB / 382.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009518/0.01866, allocations: 1.364 MB / 384.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.01917, allocations: 0.529 MB / 384.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007577/0.01993, allocations: 0.9393 MB / 385.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.0203, allocations: 470.5 kB / 386 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.02041, allocations: 108 kB / 386.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.02081, allocations: 351.5 kB / 386.5 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.02092, allocations: 175.3 kB / 386.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.02116, allocations: 303.3 kB / 386.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007455/0.02191, allocations: 0.9302 MB / 387.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.634e-05/0.02192, allocations: 0 / 387.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.02192, allocations: 3.938 kB / 387.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.02195, allocations: 0 / 387.9 MB, free: 10.65 MB / 378.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.001647/0.02359, allocations: 1.715 MB / 389.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.02362, allocations: 11.98 kB / 389.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.02405, allocations: 249.9 kB / 389.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.02452, allocations: 478.4 kB / 390.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.02455, allocations: 54.38 kB / 390.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.02462, allocations: 84.31 kB / 390.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.02522, allocations: 0.999 MB / 391.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.02523, allocations: 0 / 391.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.02527, allocations: 32 kB / 391.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.02529, allocations: 20 kB / 391.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.02554, allocations: 216.9 kB / 391.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.02724, allocations: 1.798 MB / 393.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.02758, allocations: 357 kB / 393.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.02771, allocations: 135.5 kB / 394 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.02799, allocations: 120.5 kB / 394.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.02802, allocations: 43.22 kB / 394.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 1.793e-06/0.02802, allocations: 0 / 394.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.001685/0.02971, allocations: 1.254 MB / 395.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.02974, allocations: 60.41 kB / 395.5 MB, free: 2.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.03021, allocations: 0.6794 MB / 396.1 MB, free: 1.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.03024, allocations: 45.7 kB / 396.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.03038, allocations: 338.7 kB / 396.5 MB, free: 1.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.03051, allocations: 309.3 kB / 396.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.03065, allocations: 154.6 kB / 397 MB, free: 1.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.03073, allocations: 345.9 kB / 397.3 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.03084, allocations: 81.95 kB / 397.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.03114, allocations: 0.5966 MB / 398 MB, free: 15.98 MB / 394.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.001166/0.03231, allocations: 0.9965 MB / 399 MB, free: 14.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.03231, allocations: 0 / 399 MB, free: 14.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0005926/0.0329, allocations: 0.5114 MB / 399.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.03291, allocations: 4 kB / 399.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.03292, allocations: 4.219 kB / 399.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.03328, allocations: 158.9 kB / 399.6 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.03375, allocations: 235.6 kB / 399.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.03517, allocations: 1.917 MB / 401.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.03543, allocations: 31.98 kB / 401.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.03545, allocations: 24.03 kB / 401.8 MB, free: 12.01 MB / 394.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.0001508/0.0356, allocations: 173.6 kB / 402 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/0.03569, allocations: 83.92 kB / 402.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006307/0.03632, allocations: 0.5536 MB / 402.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.03633, allocations: 8 kB / 402.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.03633, allocations: 4 kB / 402.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.03634, allocations: 3.984 kB / 402.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.03734, allocations: 0.9428 MB / 403.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.03735, allocations: 0 / 403.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.03788, allocations: 266.2 kB / 403.9 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.03806, allocations: 103.3 kB / 404 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003449/0.0384, allocations: 166.8 kB / 404.1 MB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.03843, allocations: 20 kB / 404.2 MB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.04054, allocations: 4.319 MB / 408.5 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.04054, allocations: 0 / 408.5 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.04129, allocations: 0.7442 MB / 409.2 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.04136, allocations: 16 kB / 409.2 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.0416, allocations: 28 kB / 409.3 MB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.04167, allocations: 64.86 kB / 409.3 MB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.0417, allocations: 19.94 kB / 409.3 MB, free: 4.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002546/0.04195, allocations: 368.5 kB / 409.7 MB, free: 3.812 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04195, allocations: 0 / 409.7 MB, free: 3.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.04244, allocations: 303.8 kB / 410 MB, free: 3.516 MB / 394.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.0002671/0.04271, allocations: 163.4 kB / 410.2 MB, free: 3.352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007703/0.04348, allocations: 0.6203 MB / 410.8 MB, free: 2.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.035e-05/0.0435, allocations: 16 kB / 410.8 MB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.04406, allocations: 0.4972 MB / 411.3 MB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.04465, allocations: 365.5 kB / 411.6 MB, free: 1.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007244/0.05189, allocations: 1.7 MB / 413.3 MB, free: 96 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.05206, allocations: 197.6 kB / 413.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004875/0.05255, allocations: 135.9 kB / 413.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/0.05312, allocations: 349 kB / 414 MB, free: 15.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.05312, allocations: 3.938 kB / 414 MB, free: 15.39 MB / 410.7 MB Notification: Performance of Templates: time 0.02432/0.07744, allocations: 21.07 MB / 435.1 MB, free: 10.69 MB / 426.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: 3.6482436237856746]