Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.SimpleValve.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.0009621/0.0009621, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005106/0.006068, 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.9584/0.9584, allocations: 177.2 MB / 188.4 MB, free: 4.391 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.171/1.129, allocations: 53.65 MB / 242 MB, free: 2.594 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.001392/0.001392, allocations: 150.7 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001966/0.003358, allocations: 483.7 kB / 243.4 MB, free: 1.262 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.4791/0.4791, allocations: 89.18 MB / 333.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04715/0.5263, allocations: 30.22 MB / 363.5 MB, free: 3.027 MB / 346.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.02149/0.02149, allocations: 4.794 MB / 369.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002423/0.02391, allocations: 1.93 MB / 371 MB, free: 11.75 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.SimpleValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValve") translateModel(OpenHPL.Examples.SimpleValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0.6562 kB / 372.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.863e-05, allocations: 10.25 kB / 372.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.003734/0.003752, allocations: 4.058 MB / 376.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003368/0.00712, allocations: 2.789 MB / 379.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.007422, allocations: 4 kB / 379.2 MB, free: 3.566 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008614/0.008283, allocations: 0.8314 MB / 380 MB, free: 2.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.008812, allocations: 341.5 kB / 380.4 MB, free: 2.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.009998, allocations: 0.6113 MB / 381 MB, free: 1.781 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007798/0.01078, allocations: 0.9649 MB / 381.9 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004849/0.01126, allocations: 374.5 kB / 382.3 MB, free: 440 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006888/0.01195, allocations: 0.6864 MB / 383 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.0123, allocations: 334.9 kB / 383.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.292e-05/0.01239, allocations: 76 kB / 383.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005118/0.0129, allocations: 323.5 kB / 383.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.013, allocations: 127.5 kB / 383.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.01316, allocations: 215.5 kB / 384 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.01382, allocations: 0.7318 MB / 384.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.01383, allocations: 0 / 384.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.01383, allocations: 0 / 384.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.01385, allocations: 3.938 kB / 384.8 MB, free: 13.93 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001475/0.01532, allocations: 1.32 MB / 386.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.01536, allocations: 11.98 kB / 386.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004136/0.01577, allocations: 217.9 kB / 386.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.01619, allocations: 370.2 kB / 386.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.01621, allocations: 37.38 kB / 386.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.01627, allocations: 52.38 kB / 386.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.01675, allocations: 0.6862 MB / 387.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.01677, allocations: 4.125 kB / 387.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.0168, allocations: 24.38 kB / 387.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.01681, allocations: 15.94 kB / 387.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.01702, allocations: 158.8 kB / 387.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.01838, allocations: 1.238 MB / 388.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.01867, allocations: 259.4 kB / 389.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.01877, allocations: 98.91 kB / 389.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.01907, allocations: 116.4 kB / 389.4 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.01909, allocations: 39.06 kB / 389.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 2.084e-06/0.01909, allocations: 0 / 389.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.001586/0.02068, allocations: 0.9703 MB / 390.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.02071, allocations: 59.91 kB / 390.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.02105, allocations: 0.5312 MB / 391 MB, free: 7.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.02108, allocations: 37.7 kB / 391 MB, free: 7.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.02119, allocations: 254.4 kB / 391.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.02128, allocations: 214.1 kB / 391.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.02139, allocations: 118.2 kB / 391.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.02151, allocations: 386.6 kB / 391.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.02159, allocations: 61.27 kB / 392 MB, free: 6.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.0218, allocations: 431.2 kB / 392.4 MB, free: 5.844 MB / 378.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 (intake.Vdot_0 - discharge.Vdot_0 = surgeTank.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.02252, allocations: 0.5815 MB / 393 MB, free: 5.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.02252, allocations: 0 / 393 MB, free: 5.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004201/0.02294, allocations: 373.7 kB / 393.4 MB, free: 4.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.02296, allocations: 8 kB / 393.4 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.02297, allocations: 0 / 393.4 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.02322, allocations: 96.91 kB / 393.5 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.02358, allocations: 171.8 kB / 393.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.02467, allocations: 1.634 MB / 395.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.02487, allocations: 27.98 kB / 395.3 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.02489, allocations: 12 kB / 395.3 MB, free: 2.848 MB / 378.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (65): * Single equations (assignments): 64 * 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 {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.02503, allocations: 153.6 kB / 395.5 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.0251, allocations: 59.89 kB / 395.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.02561, allocations: 405.4 kB / 395.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.02561, allocations: 8 kB / 395.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.02562, allocations: 0 / 395.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.02562, allocations: 3.984 kB / 395.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/0.02637, allocations: 0.6853 MB / 396.6 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.02637, allocations: 4 kB / 396.6 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.0268, allocations: 206 kB / 396.8 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.02693, allocations: 71.52 kB / 396.9 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.02716, allocations: 92.75 kB / 397 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.02718, allocations: 19.98 kB / 397 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.02912, allocations: 4.044 MB / 401 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.02912, allocations: 64 / 401 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.02968, allocations: 0.5464 MB / 401.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.02974, allocations: 15.94 kB / 401.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.02993, allocations: 23.98 kB / 401.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.03, allocations: 48.34 kB / 401.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.03002, allocations: 12 kB / 401.7 MB, free: 12.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002205/0.03024, allocations: 272.6 kB / 402 MB, free: 11.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.03024, allocations: 0 / 402 MB, free: 11.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005341/0.03078, allocations: 227.9 kB / 402.2 MB, free: 11.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (reservoir.m,intake.mdot,discharge.mdot,tail.m,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 (53): * Single equations (assignments): 50 * 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 {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002768/0.03105, allocations: 163.4 kB / 402.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005913/0.03164, allocations: 466 kB / 402.8 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/0.03166, allocations: 15.94 kB / 402.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.03215, allocations: 415.8 kB / 403.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/0.03313, allocations: 1.93 MB / 405.1 MB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.03856, allocations: 1.251 MB / 406.4 MB, free: 6.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.03867, allocations: 159.6 kB / 406.6 MB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000331/0.039, allocations: 101.8 kB / 406.7 MB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.03945, allocations: 285 kB / 406.9 MB, free: 6.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.382e-06/0.03945, allocations: 0 / 406.9 MB, free: 6.41 MB / 394.7 MB Notification: Performance of Templates: time 0.01789/0.05734, allocations: 15.75 MB / 422.7 MB, free: 6.941 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.SimpleValve.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.SimpleValve.pipe ; mkfifo OpenHPL_OpenHPL.Examples.SimpleValve.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.SimpleValve.pipe >> ../files/OpenHPL_OpenHPL.Examples.SimpleValve.sim & ./OpenHPL_OpenHPL.Examples.SimpleValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4670015703886747]