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.001273/0.001273, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 13.93 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.024/1.024, allocations: 230.6 MB / 253.4 MB, free: 9.832 MB / 202.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.001197/0.001197, allocations: 212.5 kB / 310 MB, free: 1.934 MB / 234.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.4398/0.4398, allocations: 107.1 MB / 473.6 MB, free: 9.902 MB / 330.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.02178/0.02178, allocations: 6.303 MB / 0.5499 GB, free: 1.289 MB / 410.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package OpenIPSL of version 3.0.0. OpenIPSL 3.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 138.8 kB / 0.7254 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3827, allocations: 81.64 MB / 0.8051 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.002879/0.3855, allocations: 3.704 MB / 0.8087 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3878, allocations: 2.569 MB / 0.8113 GB, free: 28.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.388, allocations: 14.22 kB / 0.8113 GB, free: 28.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007786/0.3887, allocations: 0.7434 MB / 0.812 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.3891, allocations: 331.2 kB / 0.8123 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.3899, allocations: 0.6276 MB / 0.8129 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.3904, allocations: 0.9487 MB / 0.8138 GB, free: 27.42 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.3907, allocations: 402.1 kB / 0.8142 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.391, allocations: 383.4 kB / 0.8146 GB, free: 27.01 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.3913, allocations: 396.6 kB / 0.815 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7e-05/0.3913, allocations: 77.12 kB / 0.815 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.3917, allocations: 319.4 kB / 0.8154 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3918, allocations: 186.9 kB / 0.8155 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.392, allocations: 336.7 kB / 0.8159 GB, free: 26.46 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007987/0.3928, allocations: 0.9986 MB / 0.8168 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3928, allocations: 0 / 0.8168 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3928, allocations: 0 / 0.8168 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.3928, allocations: 0 / 0.8168 GB, free: 26.07 MB / 0.5261 GB 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.001361/0.3942, allocations: 1.196 MB / 0.818 GB, free: 25.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3942, allocations: 9.125 kB / 0.818 GB, free: 25.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.3945, allocations: 126.2 kB / 0.8181 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/0.395, allocations: 477.2 kB / 0.8186 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.395, allocations: 38.59 kB / 0.8186 GB, free: 24.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.3951, allocations: 53.23 kB / 0.8187 GB, free: 24.83 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.3957, allocations: 0.8235 MB / 0.8195 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.3958, allocations: 3.938 kB / 0.8195 GB, free: 24.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.3958, allocations: 18.38 kB / 0.8195 GB, free: 24.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.3958, allocations: 16.06 kB / 0.8195 GB, free: 24.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.3964, allocations: 408 kB / 0.8199 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.398, allocations: 1.662 MB / 0.8215 GB, free: 22.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.3985, allocations: 428.1 kB / 0.8219 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.3987, allocations: 201.7 kB / 0.8221 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.3991, allocations: 113.2 kB / 0.8222 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.3991, allocations: 39 kB / 0.8223 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=55): time 2.014e-06/0.3991, allocations: 0 / 0.8223 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59): time 0.001913/0.401, allocations: 1.478 MB / 0.8237 GB, free: 21.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.4011, allocations: 294.9 kB / 0.824 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.4016, allocations: 0.6471 MB / 0.8246 GB, free: 21.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.4017, allocations: 36.95 kB / 0.8247 GB, free: 21.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.4018, allocations: 340 kB / 0.825 GB, free: 20.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.402, allocations: 214.9 kB / 0.8252 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.4021, allocations: 118.3 kB / 0.8253 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.4022, allocations: 383.5 kB / 0.8257 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.4025, allocations: 184.1 kB / 0.8258 GB, free: 20.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.4029, allocations: 0.5357 MB / 0.8264 GB, free: 19.84 MB / 0.5261 GB 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.004311/0.4072, allocations: 1.636 MB / 0.828 GB, free: 19.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4072, allocations: 0 / 0.828 GB, free: 19.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001043/0.4083, allocations: 0.6607 MB / 0.8286 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4083, allocations: 13.28 kB / 0.8286 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4083, allocations: 2.719 kB / 0.8286 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.4086, allocations: 101.4 kB / 0.8287 GB, free: 19.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.4091, allocations: 128.8 kB / 0.8288 GB, free: 19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.4107, allocations: 1.984 MB / 0.8308 GB, free: 17.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.411, allocations: 34.03 kB / 0.8308 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.4111, allocations: 17.09 kB / 0.8308 GB, free: 17.3 MB / 0.5261 GB 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.0002004/0.4113, allocations: 192.9 kB / 0.831 GB, free: 17.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/0.4113, allocations: 77.56 kB / 0.8311 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.4124, allocations: 0.651 MB / 0.8317 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4124, allocations: 6.438 kB / 0.8317 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4124, allocations: 0 / 0.8317 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.4124, allocations: 6.656 kB / 0.8317 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.4138, allocations: 1.086 MB / 0.8328 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4138, allocations: 1.922 kB / 0.8328 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.4142, allocations: 157.6 kB / 0.8329 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.4144, allocations: 105.2 kB / 0.833 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.4144, allocations: 17.25 kB / 0.8331 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.4162, allocations: 4.51 MB / 0.8375 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4162, allocations: 1.094 kB / 0.8375 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.4172, allocations: 0.952 MB / 0.8384 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.4174, allocations: 118.3 kB / 0.8385 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.4175, allocations: 14.62 kB / 0.8385 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4177, allocations: 30.69 kB / 0.8386 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.4178, allocations: 48.33 kB / 0.8386 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.4178, allocations: 18.55 kB / 0.8386 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004085/0.4182, allocations: 475.6 kB / 0.8391 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.4182, allocations: 0 / 0.8391 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005082/0.4187, allocations: 227.3 kB / 0.8393 GB, free: 11.09 MB / 0.5261 GB 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.0002624/0.419, allocations: 177.1 kB / 0.8395 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008648/0.4199, allocations: 0.6217 MB / 0.8401 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4199, allocations: 112 / 0.8401 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006245/0.4205, allocations: 467.2 kB / 0.8405 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.421, allocations: 173.2 kB / 0.8407 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.4225, allocations: 1.529 MB / 0.8422 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.4227, allocations: 328.1 kB / 0.8425 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4229, allocations: 61.16 kB / 0.8425 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of SimCode: time 6.72e-07/0.4229, allocations: 3.938 kB / 0.8425 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of Templates: time 0.01127/0.4341, allocations: 15.59 MB / 0.8578 GB, free: 1.066 MB / 0.5261 GB " [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 > OpenHPL_OpenHPL.Examples.SimpleValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.754029969219118]