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.001316/0.001316, allocations: 80.88 kB / 19.94 MB, free: 4.551 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 0.9652/0.9652, allocations: 177.2 MB / 200.3 MB, free: 4.871 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.001396/0.001396, allocations: 159.5 kB / 257 MB, free: 12.67 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.4225/0.4225, allocations: 80.24 MB / 340.5 MB, free: 9.484 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.02145/0.02145, allocations: 4.79 MB / 375.3 MB, free: 7.152 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.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.383e-06/1.383e-06, allocations: 0 / 394.9 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.844e-05, allocations: 2.312 kB / 395 MB, free: 3.531 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.007279/0.007298, allocations: 3.994 MB / 398.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.01751, allocations: 2.762 MB / 401.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003303/0.01784, allocations: 4 kB / 401.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.01902, allocations: 0.8315 MB / 402.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.02267, allocations: 349.3 kB / 402.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.02409, allocations: 0.6426 MB / 403.5 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.02501, allocations: 0.9795 MB / 404.5 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003552/0.02856, allocations: 446.4 kB / 404.9 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.02915, allocations: 0.522 MB / 405.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.02955, allocations: 338.9 kB / 405.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.02965, allocations: 76 kB / 405.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.03012, allocations: 319.5 kB / 406.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.03026, allocations: 191.1 kB / 406.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.03051, allocations: 275.2 kB / 406.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003859/0.03437, allocations: 0.8174 MB / 407.5 MB, free: 6.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.03438, allocations: 4 kB / 407.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.03438, allocations: 0 / 407.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.03439, allocations: 0 / 407.5 MB, free: 6.941 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.001541/0.03593, allocations: 1.146 MB / 408.6 MB, free: 5.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.03596, allocations: 12.03 kB / 408.6 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.03645, allocations: 132.8 kB / 408.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.03694, allocations: 374.2 kB / 409.1 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.03697, allocations: 41.31 kB / 409.1 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/0.03704, allocations: 56.38 kB / 409.2 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/0.04063, allocations: 0.69 MB / 409.9 MB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.04065, allocations: 4.188 kB / 409.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.04069, allocations: 20.38 kB / 409.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.0407, allocations: 19.92 kB / 409.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.04096, allocations: 146.8 kB / 410.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.04269, allocations: 1.241 MB / 411.3 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.04304, allocations: 249.2 kB / 411.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.04318, allocations: 98.3 kB / 411.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003343/0.04652, allocations: 128.4 kB / 411.8 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.04655, allocations: 43.06 kB / 411.8 MB, free: 2.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 2.074e-06/0.04656, allocations: 0 / 411.8 MB, free: 2.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.00167/0.04823, allocations: 0.8922 MB / 412.7 MB, free: 1.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.04834, allocations: 291.2 kB / 413 MB, free: 1.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.0488, allocations: 0.5273 MB / 413.5 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.04884, allocations: 37.7 kB / 413.6 MB, free: 484 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.04898, allocations: 254.4 kB / 413.8 MB, free: 220 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.04911, allocations: 218.1 kB / 414 MB, free: 0 / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.04936, allocations: 110.3 kB / 414.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.04949, allocations: 390.6 kB / 414.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.04963, allocations: 57.28 kB / 414.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.0499, allocations: 423.3 kB / 415 MB, free: 14.92 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 (intake.Vdot_0 - discharge.Vdot_0 = surgeTank.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.0509, allocations: 0.582 MB / 415.6 MB, free: 14.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0509, allocations: 0 / 415.6 MB, free: 14.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005825/0.05148, allocations: 369.7 kB / 415.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.0515, allocations: 4 kB / 415.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.05151, allocations: 8.156 kB / 415.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.05183, allocations: 88.77 kB / 416 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.05219, allocations: 131.8 kB / 416.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.05352, allocations: 1.618 MB / 417.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.05372, allocations: 23.98 kB / 417.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.05374, allocations: 23.98 kB / 417.8 MB, free: 11.98 MB / 394.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.0001312/0.05387, allocations: 141.7 kB / 418 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.05394, allocations: 63.94 kB / 418 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.05443, allocations: 401.4 kB / 418.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.05443, allocations: 11.94 kB / 418.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.05444, allocations: 0 / 418.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.05444, allocations: 3.984 kB / 418.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/0.05517, allocations: 0.6815 MB / 419.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.05517, allocations: 0 / 419.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.05552, allocations: 159.8 kB / 419.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/0.05575, allocations: 104.9 kB / 419.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.05577, allocations: 15.98 kB / 419.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.05797, allocations: 4.009 MB / 423.4 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.05797, allocations: 3.938 kB / 423.4 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005559/0.05852, allocations: 0.5387 MB / 423.9 MB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.05865, allocations: 71.52 kB / 424 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.05871, allocations: 27.95 kB / 424 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.05889, allocations: 19.98 kB / 424.1 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.05896, allocations: 52.28 kB / 424.1 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.05897, allocations: 12 kB / 424.1 MB, free: 5.348 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.05918, allocations: 272.6 kB / 424.4 MB, free: 5.082 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05918, allocations: 0 / 424.4 MB, free: 5.082 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004488/0.05963, allocations: 223.9 kB / 424.6 MB, free: 4.863 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.0002524/0.05988, allocations: 152.1 kB / 424.8 MB, free: 4.703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.0605, allocations: 462.7 kB / 425.2 MB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.0605, allocations: 8 kB / 425.2 MB, free: 4.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.06096, allocations: 375.6 kB / 425.6 MB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.0614, allocations: 202.3 kB / 425.8 MB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.06291, allocations: 1.267 MB / 427 MB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.058e-05/0.063, allocations: 151.7 kB / 427.2 MB, free: 2.184 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.06322, allocations: 97.56 kB / 427.3 MB, free: 2.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.06362, allocations: 269.1 kB / 427.6 MB, free: 1.82 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.06363, allocations: 0 / 427.6 MB, free: 1.82 MB / 394.7 MB Notification: Performance of Templates: time 0.01607/0.0797, allocations: 14.66 MB / 442.2 MB, free: 3.348 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.622013479936868]