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.000685/0.000685, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009803/0.001665, 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.9509/0.9509, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2045/1.155, allocations: 53.65 MB / 241.9 MB, free: 2.738 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.001406/0.001406, allocations: 144 kB / 242.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001676/0.003082, allocations: 482.3 kB / 243.2 MB, free: 1.426 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.4404/0.4404, allocations: 89.06 MB / 333 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04564/0.486, allocations: 30.21 MB / 363.2 MB, free: 3.188 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.01996/0.01996, allocations: 4.795 MB / 368.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002484/0.02245, allocations: 1.927 MB / 370.7 MB, free: 11.9 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.443e-06/1.443e-06, allocations: 0 / 372 MB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.384e-05, allocations: 4.703 kB / 372 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.003735/0.003749, allocations: 4.061 MB / 376.1 MB, free: 6.516 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.006517, allocations: 2.785 MB / 378.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.006684, allocations: 4 kB / 378.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007955/0.007479, allocations: 0.8315 MB / 379.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008119/0.008291, allocations: 341.4 kB / 380 MB, free: 2.543 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.009255, allocations: 0.6035 MB / 380.6 MB, free: 1.938 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006407/0.009895, allocations: 0.9687 MB / 381.6 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.01026, allocations: 382.5 kB / 382 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.01081, allocations: 0.6903 MB / 382.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.01109, allocations: 331 kB / 383 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.01117, allocations: 76 kB / 383 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.01151, allocations: 315.5 kB / 383.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.01159, allocations: 123.5 kB / 383.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.01176, allocations: 219.5 kB / 383.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.01233, allocations: 0.7356 MB / 384.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.01234, allocations: 0 / 384.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01234, allocations: 0 / 384.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.01236, allocations: 0 / 384.4 MB, free: 14.08 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.001271/0.01363, allocations: 1.324 MB / 385.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.01365, allocations: 8.031 kB / 385.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.01401, allocations: 209.9 kB / 386 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.01436, allocations: 370.2 kB / 386.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.01439, allocations: 37.38 kB / 386.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.01444, allocations: 64.36 kB / 386.4 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.01502, allocations: 0.6861 MB / 387.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.01503, allocations: 4.188 kB / 387.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/0.01524, allocations: 16.38 kB / 387.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.01525, allocations: 15.94 kB / 387.1 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.01544, allocations: 150.8 kB / 387.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.01692, allocations: 1.245 MB / 388.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.01718, allocations: 254.6 kB / 388.8 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.01729, allocations: 105.8 kB / 388.9 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.01756, allocations: 112.4 kB / 389 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.01758, allocations: 39.06 kB / 389 MB, free: 9.219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 1.683e-06/0.01758, allocations: 0 / 389 MB, free: 9.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.001266/0.01885, allocations: 0.8922 MB / 389.9 MB, free: 8.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.01888, allocations: 63.84 kB / 390 MB, free: 8.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.01933, allocations: 0.5234 MB / 390.5 MB, free: 7.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.01936, allocations: 41.7 kB / 390.6 MB, free: 7.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.01947, allocations: 250.4 kB / 390.8 MB, free: 7.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.01956, allocations: 218.1 kB / 391 MB, free: 7.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.01966, allocations: 122.2 kB / 391.1 MB, free: 7.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.01975, allocations: 382.6 kB / 391.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.01983, allocations: 61.27 kB / 391.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.02004, allocations: 431.3 kB / 392 MB, free: 6.074 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.0006978/0.02074, allocations: 0.5711 MB / 392.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.02074, allocations: 4 kB / 392.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004352/0.02118, allocations: 357.8 kB / 392.9 MB, free: 5.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.02119, allocations: 16.14 kB / 392.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.02119, allocations: 0 / 392.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.02143, allocations: 96.75 kB / 393 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.02179, allocations: 171.7 kB / 393.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.02312, allocations: 1.637 MB / 394.8 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.02331, allocations: 20 kB / 394.8 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.02333, allocations: 20.09 kB / 394.9 MB, free: 3.086 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.000121/0.02345, allocations: 153.7 kB / 395 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.02351, allocations: 67.88 kB / 395.1 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.02397, allocations: 393.3 kB / 395.5 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.02397, allocations: 11.94 kB / 395.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.02398, allocations: 0 / 395.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.02398, allocations: 3.984 kB / 395.5 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.02469, allocations: 0.6854 MB / 396.2 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02469, allocations: 4 kB / 396.2 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.02513, allocations: 206.7 kB / 396.4 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.02526, allocations: 71.52 kB / 396.4 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.02549, allocations: 100.7 kB / 396.5 MB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.02551, allocations: 12 kB / 396.6 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.02729, allocations: 4.048 MB / 400.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02729, allocations: 0 / 400.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.02783, allocations: 0.5309 MB / 401.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.0279, allocations: 31.86 kB / 401.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.02809, allocations: 23.97 kB / 401.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.02815, allocations: 44.41 kB / 401.2 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.02816, allocations: 15.98 kB / 401.2 MB, free: 12.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001852/0.02835, allocations: 268.6 kB / 401.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02835, allocations: 0 / 401.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.02878, allocations: 231.9 kB / 401.7 MB, free: 11.89 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.0002198/0.029, allocations: 147.6 kB / 401.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.02953, allocations: 456.8 kB / 402.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.02954, allocations: 8 kB / 402.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.03004, allocations: 395.4 kB / 402.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.03047, allocations: 245.4 kB / 403 MB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/0.03572, allocations: 1.263 MB / 404.2 MB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.03594, allocations: 163.7 kB / 404.4 MB, free: 9.145 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000231/0.03617, allocations: 97.56 kB / 404.5 MB, free: 9.047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.03657, allocations: 273 kB / 404.7 MB, free: 8.777 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.03657, allocations: 0 / 404.7 MB, free: 8.777 MB / 394.7 MB Notification: Performance of Templates: time 0.01586/0.05244, allocations: 15.5 MB / 420.2 MB, free: 9.547 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.5048252157866955]