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.0006864/0.0006864, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008987/0.001585, allocations: 440 kB / 10.41 MB, free: 284 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.9145/0.9145, allocations: 177.2 MB / 188.4 MB, free: 4.41 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1661/1.081, allocations: 53.67 MB / 242 MB, free: 2.605 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.001527/0.001527, allocations: 144.6 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.003116, allocations: 492.8 kB / 243.4 MB, free: 1.27 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.4485/0.4485, allocations: 89.18 MB / 333.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04246/0.491, allocations: 30.21 MB / 363.5 MB, free: 3.059 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.02029/0.02029, allocations: 4.795 MB / 369.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002764/0.02306, allocations: 1.927 MB / 371 MB, free: 11.76 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.292e-06/1.292e-06, allocations: 0 / 372.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.323e-05, allocations: 9.266 kB / 372.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.003984/0.003997, allocations: 5.115 MB / 377.5 MB, free: 5.336 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.00769, allocations: 3.189 MB / 380.6 MB, free: 2.133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.00793, allocations: 15.94 kB / 380.7 MB, free: 2.117 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009772/0.008907, allocations: 1.17 MB / 381.8 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.009415, allocations: 480.4 kB / 382.3 MB, free: 480 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008952/0.01031, allocations: 0.7829 MB / 383.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007615/0.01107, allocations: 1.376 MB / 384.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.01151, allocations: 0.529 MB / 385 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000672/0.01218, allocations: 0.9276 MB / 385.9 MB, free: 12.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.01255, allocations: 474.5 kB / 386.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.901e-05/0.01265, allocations: 104 kB / 386.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.01301, allocations: 351.5 kB / 386.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.01312, allocations: 175.3 kB / 387 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.01334, allocations: 307.3 kB / 387.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.01401, allocations: 0.9341 MB / 388.2 MB, free: 10.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.01402, allocations: 3.984 kB / 388.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01402, allocations: 3.938 kB / 388.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.01403, allocations: 0 / 388.2 MB, free: 10.48 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.001563/0.01559, allocations: 1.715 MB / 389.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.01562, allocations: 8.031 kB / 390 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/0.01608, allocations: 261.9 kB / 390.2 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.01656, allocations: 466.4 kB / 390.7 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.01659, allocations: 54.38 kB / 390.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.01666, allocations: 84.31 kB / 390.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.01729, allocations: 0.9951 MB / 391.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.0173, allocations: 4 kB / 391.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.01734, allocations: 32 kB / 391.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.01735, allocations: 20 kB / 391.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.01762, allocations: 212.9 kB / 392.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.01932, allocations: 1.794 MB / 393.9 MB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.01966, allocations: 354.3 kB / 394.2 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.0198, allocations: 147.5 kB / 394.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.02007, allocations: 116.6 kB / 394.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.0201, allocations: 39.22 kB / 394.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 1.714e-06/0.0201, allocations: 0 / 394.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.00202/0.02212, allocations: 1.376 MB / 395.9 MB, free: 2.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.02215, allocations: 60.41 kB / 395.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.02258, allocations: 0.6794 MB / 396.6 MB, free: 1.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.02261, allocations: 41.7 kB / 396.7 MB, free: 1.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.02275, allocations: 342.7 kB / 397 MB, free: 1.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.02288, allocations: 309.3 kB / 397.3 MB, free: 1.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.02302, allocations: 158.6 kB / 397.4 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.0231, allocations: 341.9 kB / 397.8 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.02321, allocations: 81.95 kB / 397.9 MB, free: 452 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.0235, allocations: 0.6005 MB / 398.5 MB, free: 15.7 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.00107/0.02457, allocations: 0.9995 MB / 399.5 MB, free: 14.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.02457, allocations: 4 kB / 399.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.000577/0.02515, allocations: 0.5076 MB / 400 MB, free: 14.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.02516, allocations: 4 kB / 400 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.02517, allocations: 4 kB / 400 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/0.02552, allocations: 162.9 kB / 400.1 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.02596, allocations: 231.7 kB / 400.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.02728, allocations: 1.921 MB / 402.3 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.02753, allocations: 39.97 kB / 402.3 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.02756, allocations: 23.98 kB / 402.3 MB, free: 11.71 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.0001445/0.0277, allocations: 173.6 kB / 402.5 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.02779, allocations: 83.91 kB / 402.6 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006107/0.0284, allocations: 0.5457 MB / 403.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.02841, allocations: 12 kB / 403.2 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.02841, allocations: 4 kB / 403.2 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.02842, allocations: 3.984 kB / 403.2 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.02934, allocations: 0.935 MB / 404.1 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02934, allocations: 3.984 kB / 404.1 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.02986, allocations: 263.7 kB / 404.4 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.03003, allocations: 95.33 kB / 404.5 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/0.03037, allocations: 174.8 kB / 404.6 MB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.0304, allocations: 16 kB / 404.6 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.03255, allocations: 4.319 MB / 409 MB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.03255, allocations: 4 kB / 409 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007898/0.03334, allocations: 0.7402 MB / 409.7 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.453e-05/0.03342, allocations: 28.02 kB / 409.7 MB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.03367, allocations: 24 kB / 409.8 MB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.03375, allocations: 64.86 kB / 409.8 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.03377, allocations: 20 kB / 409.8 MB, free: 3.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003067/0.03408, allocations: 372.4 kB / 410.2 MB, free: 3.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03408, allocations: 0 / 410.2 MB, free: 3.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005007/0.03458, allocations: 311.8 kB / 410.5 MB, free: 3.211 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.0002433/0.03482, allocations: 163.3 kB / 410.7 MB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007935/0.03561, allocations: 0.6255 MB / 411.3 MB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-05/0.03563, allocations: 16.09 kB / 411.3 MB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.03625, allocations: 0.5469 MB / 411.9 MB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.03757, allocations: 2.673 MB / 414.5 MB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/0.04451, allocations: 1.696 MB / 416.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.04463, allocations: 197.7 kB / 416.4 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003191/0.04495, allocations: 148.1 kB / 416.6 MB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/0.0455, allocations: 369 kB / 416.9 MB, free: 12.15 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0455, allocations: 0 / 416.9 MB, free: 12.15 MB / 410.7 MB Notification: Performance of Templates: time 0.02318/0.06868, allocations: 21.43 MB / 438.4 MB, free: 7.102 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.631897449493408]