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.0009217/0.0009217, allocations: 80.94 kB / 19.94 MB, free: 4.543 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 1.044/1.044, allocations: 177.2 MB / 200.3 MB, free: 5.684 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.001306/0.001306, allocations: 156.3 kB / 257 MB, free: 12.97 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.429/0.429, allocations: 80.23 MB / 340.5 MB, free: 9.645 MB / 314.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.02164/0.02164, allocations: 4.782 MB / 375.3 MB, free: 7.16 MB / 346.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.743e-06/1.743e-06, allocations: 0 / 395 MB, free: 3.488 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.751e-05, allocations: 9.203 kB / 395 MB, free: 3.48 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.01124/0.01125, allocations: 5.085 MB / 400.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008119/0.01937, allocations: 3.176 MB / 403.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003417/0.02279, allocations: 11.94 kB / 403.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.02429, allocations: 1.17 MB / 404.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007994/0.02509, allocations: 476.4 kB / 404.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004496/0.02958, allocations: 0.7947 MB / 405.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.03076, allocations: 1.373 MB / 407.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/0.03443, allocations: 0.6225 MB / 407.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000954/0.03538, allocations: 0.7285 MB / 408.4 MB, free: 5.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.03589, allocations: 470.5 kB / 408.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.03602, allocations: 108 kB / 409 MB, free: 5.402 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/0.03653, allocations: 359.5 kB / 409.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.03669, allocations: 262.8 kB / 409.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.03701, allocations: 394.8 kB / 410 MB, free: 4.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.04101, allocations: 1.031 MB / 411 MB, free: 3.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.04101, allocations: 0 / 411 MB, free: 3.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.04101, allocations: 0 / 411 MB, free: 3.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.04102, allocations: 0 / 411 MB, free: 3.371 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.001845/0.04286, allocations: 1.502 MB / 412.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.04289, allocations: 8.031 kB / 412.5 MB, free: 1.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/0.04648, allocations: 172.8 kB / 412.7 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.0471, allocations: 470.4 kB / 413.1 MB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.04713, allocations: 54.38 kB / 413.2 MB, free: 1.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.04722, allocations: 80.36 kB / 413.3 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.04799, allocations: 1.002 MB / 414.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.04801, allocations: 0 / 414.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.04805, allocations: 32 kB / 414.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.04807, allocations: 23.94 kB / 414.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.04843, allocations: 209 kB / 414.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005445/0.05388, allocations: 1.805 MB / 416.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.05432, allocations: 346.4 kB / 416.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.05451, allocations: 139.9 kB / 416.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.05483, allocations: 112.6 kB / 416.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.05486, allocations: 39.22 kB / 417 MB, free: 13.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 2.355e-06/0.05486, allocations: 0 / 417 MB, free: 13.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.004239/0.0591, allocations: 1.246 MB / 418.2 MB, free: 11.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.05923, allocations: 398.5 kB / 418.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.05985, allocations: 0.6832 MB / 419.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.05988, allocations: 45.64 kB / 419.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.06003, allocations: 334.7 kB / 419.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.06017, allocations: 305.3 kB / 419.9 MB, free: 9.957 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.06032, allocations: 166.5 kB / 420.1 MB, free: 9.789 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.0604, allocations: 349.9 kB / 420.4 MB, free: 9.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.06052, allocations: 81.95 kB / 420.5 MB, free: 9.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.0608, allocations: 0.5927 MB / 421.1 MB, free: 8.625 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.001136/0.06194, allocations: 0.9891 MB / 422.1 MB, free: 7.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.06194, allocations: 4 kB / 422.1 MB, free: 7.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0006133/0.06255, allocations: 0.5037 MB / 422.6 MB, free: 7.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.06257, allocations: 7.938 kB / 422.6 MB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.06257, allocations: 4 kB / 422.6 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/0.06293, allocations: 171.9 kB / 422.8 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.06338, allocations: 211.7 kB / 423 MB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.06478, allocations: 1.924 MB / 424.9 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.06503, allocations: 35.98 kB / 425 MB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.06506, allocations: 23.98 kB / 425 MB, free: 4.652 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.0001557/0.06521, allocations: 165.7 kB / 425.1 MB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.0653, allocations: 87.91 kB / 425.2 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.06593, allocations: 0.5457 MB / 425.8 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.06593, allocations: 8 kB / 425.8 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.06594, allocations: 4 kB / 425.8 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.06594, allocations: 7.984 kB / 425.8 MB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009916/0.06694, allocations: 0.9233 MB / 426.7 MB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.06694, allocations: 0 / 426.7 MB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/0.06746, allocations: 251.8 kB / 427 MB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003406/0.0678, allocations: 168.6 kB / 427.1 MB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.06783, allocations: 19.98 kB / 427.2 MB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.06998, allocations: 4.32 MB / 431.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.06998, allocations: 0 / 431.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.07074, allocations: 0.7403 MB / 432.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.07091, allocations: 103.2 kB / 432.3 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.07098, allocations: 19.98 kB / 432.3 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.07123, allocations: 36.02 kB / 432.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.07131, allocations: 64.86 kB / 432.4 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.07133, allocations: 20 kB / 432.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002719/0.0716, allocations: 364.5 kB / 432.8 MB, free: 12.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0716, allocations: 0 / 432.8 MB, free: 12.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004696/0.07207, allocations: 303.8 kB / 433.1 MB, free: 12.2 MB / 410.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.0002294/0.0723, allocations: 172.1 kB / 433.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007208/0.07302, allocations: 0.6122 MB / 433.9 MB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.07303, allocations: 12 kB / 433.9 MB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.0736, allocations: 0.4898 MB / 434.4 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.07413, allocations: 272 kB / 434.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.07594, allocations: 1.674 MB / 436.3 MB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.07606, allocations: 201.5 kB / 436.5 MB, free: 8.672 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002972/0.07635, allocations: 135.9 kB / 436.7 MB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.0769, allocations: 361 kB / 437 MB, free: 8.184 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.07691, allocations: 0 / 437 MB, free: 8.184 MB / 410.7 MB Notification: Performance of Templates: time 0.17/0.2469, allocations: 20.16 MB / 457.2 MB, free: 56.56 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.831800365820527]