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.00177/0.00177, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 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.609/1.609, allocations: 230.6 MB / 252.7 MB, free: 9.824 MB / 202.7 MB " [Timeout remaining time 178] 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.00225/0.00225, allocations: 214.4 kB / 309.2 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.6949/0.6949, allocations: 107.2 MB / 472.8 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.04217/0.04217, allocations: 6.295 MB / 0.5492 GB, free: 1.281 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.006677/0.006677, allocations: 123.8 kB / 0.7254 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3826, allocations: 81.65 MB / 0.8052 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.003893/0.3865, allocations: 3.699 MB / 0.8088 GB, free: 30.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003599/0.3901, allocations: 2.569 MB / 0.8113 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.3905, allocations: 10.34 kB / 0.8113 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.3916, allocations: 0.7474 MB / 0.812 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006011/0.3922, allocations: 341.1 kB / 0.8123 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.3935, allocations: 0.6215 MB / 0.813 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.3942, allocations: 0.9441 MB / 0.8139 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004588/0.3947, allocations: 405.2 kB / 0.8143 GB, free: 27.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.395, allocations: 391.9 kB / 0.8146 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.3955, allocations: 386.6 kB / 0.815 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3956, allocations: 74.44 kB / 0.8151 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005344/0.3961, allocations: 311.5 kB / 0.8154 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.3963, allocations: 189.9 kB / 0.8156 GB, free: 27.03 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.3966, allocations: 335.8 kB / 0.8159 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.3976, allocations: 1.004 MB / 0.8169 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3976, allocations: 0.75 kB / 0.8169 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3976, allocations: 3.938 kB / 0.8169 GB, free: 26.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.3976, allocations: 4 kB / 0.8169 GB, free: 26.44 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.002208/0.3998, allocations: 1.194 MB / 0.818 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3999, allocations: 9.875 kB / 0.818 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/0.4005, allocations: 121.6 kB / 0.8182 GB, free: 25.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006683/0.4011, allocations: 477.1 kB / 0.8186 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.4011, allocations: 36.5 kB / 0.8186 GB, free: 25.22 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.4012, allocations: 53.95 kB / 0.8187 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008897/0.4021, allocations: 0.8284 MB / 0.8195 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4021, allocations: 7.938 kB / 0.8195 GB, free: 24.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.4022, allocations: 22.44 kB / 0.8195 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.4022, allocations: 16.12 kB / 0.8195 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.4029, allocations: 402.4 kB / 0.8199 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.4053, allocations: 1.659 MB / 0.8216 GB, free: 23.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.406, allocations: 424.7 kB / 0.822 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.4063, allocations: 203.2 kB / 0.8222 GB, free: 23.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/0.4069, allocations: 112.4 kB / 0.8223 GB, free: 23.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.407, allocations: 46.09 kB / 0.8223 GB, free: 23.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=55): time 2.214e-06/0.407, allocations: 0 / 0.8223 GB, free: 23.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59): time 0.002984/0.4099, allocations: 1.477 MB / 0.8237 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.41, allocations: 291.2 kB / 0.824 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.4107, allocations: 0.6465 MB / 0.8247 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.4108, allocations: 37.78 kB / 0.8247 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.411, allocations: 345.4 kB / 0.825 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.4111, allocations: 214.6 kB / 0.8252 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.4112, allocations: 114.9 kB / 0.8253 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4113, allocations: 385 kB / 0.8257 GB, free: 20.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.4117, allocations: 177.7 kB / 0.8259 GB, free: 20.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.4121, allocations: 0.5361 MB / 0.8264 GB, free: 20.21 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.005616/0.4178, allocations: 1.643 MB / 0.828 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4178, allocations: 0 / 0.828 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001271/0.419, allocations: 0.6679 MB / 0.8287 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.419, allocations: 6.188 kB / 0.8287 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.4191, allocations: 5.453 kB / 0.8287 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004066/0.4195, allocations: 95.06 kB / 0.8288 GB, free: 19.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.42, allocations: 126.5 kB / 0.8289 GB, free: 19.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.4217, allocations: 1.986 MB / 0.8308 GB, free: 17.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.4224, allocations: 28.88 kB / 0.8308 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.4224, allocations: 18.97 kB / 0.8309 GB, free: 17.68 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.0002564/0.4226, allocations: 199.2 kB / 0.831 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.4228, allocations: 74.66 kB / 0.8311 GB, free: 17.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.4241, allocations: 0.6461 MB / 0.8318 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4241, allocations: 10.09 kB / 0.8318 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4241, allocations: 3.281 kB / 0.8318 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.4241, allocations: 7.031 kB / 0.8318 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.4259, allocations: 1.086 MB / 0.8328 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4259, allocations: 4 kB / 0.8328 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000775/0.4267, allocations: 164.2 kB / 0.833 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.4271, allocations: 107.2 kB / 0.8331 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.4271, allocations: 18.34 kB / 0.8331 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/0.4298, allocations: 4.489 MB / 0.8375 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4298, allocations: 0 / 0.8375 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.4315, allocations: 0.9569 MB / 0.8384 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.4318, allocations: 122.7 kB / 0.8385 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-05/0.4319, allocations: 18.14 kB / 0.8386 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.4324, allocations: 22.42 kB / 0.8386 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4325, allocations: 53.02 kB / 0.8386 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.4325, allocations: 17.91 kB / 0.8387 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005887/0.4331, allocations: 471.6 kB / 0.8391 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.4331, allocations: 3.938 kB / 0.8391 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008509/0.434, allocations: 232 kB / 0.8393 GB, free: 11.46 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.0003396/0.4343, allocations: 172.8 kB / 0.8395 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.4357, allocations: 0.6272 MB / 0.8401 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4357, allocations: 1.031 kB / 0.8401 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.4368, allocations: 466.8 kB / 0.8406 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008272/0.4376, allocations: 188.9 kB / 0.8407 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.4397, allocations: 1.514 MB / 0.8422 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.4399, allocations: 334 kB / 0.8425 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004097/0.4403, allocations: 97.19 kB / 0.8426 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.4405, allocations: 71.2 kB / 0.8427 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/0.4405, allocations: 1.469 kB / 0.8427 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of Templates: time 0.02237/0.4629, allocations: 14.56 MB / 0.8569 GB, free: 2.152 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.989541994873434]