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.001077/0.001077, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.9829/0.9829, allocations: 177.1 MB / 201 MB, free: 5.398 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.002366/0.002366, allocations: 163.4 kB / 257.7 MB, free: 12.8 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.2852/0.2852, allocations: 80.24 MB / 394.5 MB, free: 3.031 MB / 362.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.01984/0.01984, allocations: 4.805 MB / 482.6 MB, free: 71.62 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: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5686 GB, free: 3.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.31e-05, allocations: 2.312 kB / 0.5686 GB, free: 3.824 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.005728/0.005761, allocations: 3.994 MB / 0.5725 GB, free: 15.8 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004735/0.0105, allocations: 2.705 MB / 0.5752 GB, free: 13.08 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/0.01114, allocations: 8 kB / 0.5752 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.0126, allocations: 0.816 MB / 0.576 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.0137, allocations: 341.4 kB / 0.5763 GB, free: 11.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.01542, allocations: 0.631 MB / 0.5769 GB, free: 11.28 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.01669, allocations: 0.9879 MB / 0.5779 GB, free: 10.29 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006693/0.01736, allocations: 409.4 kB / 0.5783 GB, free: 9.875 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007194/0.01808, allocations: 0.522 MB / 0.5788 GB, free: 9.352 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004726/0.01855, allocations: 334.9 kB / 0.5791 GB, free: 9.023 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.01868, allocations: 76 kB / 0.5792 GB, free: 8.949 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.01928, allocations: 323.4 kB / 0.5795 GB, free: 8.633 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.01944, allocations: 191.1 kB / 0.5797 GB, free: 8.445 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.01972, allocations: 279.2 kB / 0.5799 GB, free: 8.172 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.02079, allocations: 0.8096 MB / 0.5807 GB, free: 7.359 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.02079, allocations: 0 / 0.5807 GB, free: 7.359 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02079, allocations: 0 / 0.5807 GB, free: 7.359 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.02081, allocations: 0 / 0.5807 GB, free: 7.359 MB / 458.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.001875/0.02268, allocations: 1.302 MB / 0.582 GB, free: 6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.02272, allocations: 12.03 kB / 0.582 GB, free: 5.988 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/0.02327, allocations: 168.3 kB / 0.5822 GB, free: 5.824 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.02386, allocations: 456.8 kB / 0.5826 GB, free: 5.348 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.0239, allocations: 37.38 kB / 0.5826 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.02397, allocations: 52.38 kB / 0.5827 GB, free: 5.258 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.02465, allocations: 0.7271 MB / 0.5834 GB, free: 4.402 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.02467, allocations: 192 / 0.5834 GB, free: 4.402 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.02471, allocations: 20.31 kB / 0.5834 GB, free: 4.383 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.02473, allocations: 15.94 kB / 0.5834 GB, free: 4.367 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.02504, allocations: 182.7 kB / 0.5836 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.02726, allocations: 1.777 MB / 0.5853 GB, free: 2.359 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.02768, allocations: 282.7 kB / 0.5856 GB, free: 2.074 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.02785, allocations: 114.8 kB / 0.5857 GB, free: 1.957 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.02825, allocations: 112.4 kB / 0.5858 GB, free: 1.844 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.02828, allocations: 41.89 kB / 0.5859 GB, free: 1.793 MB / 458.7 MB Notification: Performance of pre-optimization done (n=55): time 2.775e-06/0.02828, allocations: 0 / 0.5859 GB, free: 1.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=59): time 0.001954/0.03023, allocations: 0.9685 MB / 0.5868 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.03037, allocations: 299.2 kB / 0.5871 GB, free: 436 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.03098, allocations: 0.6007 MB / 0.5877 GB, free: 15.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.03101, allocations: 37.7 kB / 0.5877 GB, free: 15.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.03126, allocations: 391.7 kB / 0.5881 GB, free: 15.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.03139, allocations: 214.1 kB / 0.5883 GB, free: 15.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.03156, allocations: 123.9 kB / 0.5884 GB, free: 15.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.03177, allocations: 0.5663 MB / 0.589 GB, free: 14.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.03192, allocations: 73.17 kB / 0.589 GB, free: 14.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.03225, allocations: 477.7 kB / 0.5895 GB, free: 13.8 MB / 474.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.001131/0.03338, allocations: 0.6152 MB / 0.5901 GB, free: 13.17 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.03338, allocations: 3.938 kB / 0.5901 GB, free: 13.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008136/0.0342, allocations: 484 kB / 0.5906 GB, free: 12.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.03422, allocations: 8 kB / 0.5906 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.03423, allocations: 4.156 kB / 0.5906 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.03462, allocations: 103.5 kB / 0.5907 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.03504, allocations: 127.8 kB / 0.5908 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.03718, allocations: 2.314 MB / 0.5931 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.03771, allocations: 23.98 kB / 0.5931 GB, free: 9.992 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.03774, allocations: 16 kB / 0.5931 GB, free: 9.977 MB / 474.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.0002493/0.03799, allocations: 196.4 kB / 0.5933 GB, free: 9.773 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.03814, allocations: 99.47 kB / 0.5934 GB, free: 9.676 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008717/0.03902, allocations: 472.2 kB / 0.5938 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.03902, allocations: 8 kB / 0.5938 GB, free: 9.188 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.03903, allocations: 4 kB / 0.5938 GB, free: 9.184 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.03904, allocations: 3.984 kB / 0.5938 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.04037, allocations: 0.861 MB / 0.5947 GB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.04037, allocations: 7.984 kB / 0.5947 GB, free: 8.266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.04092, allocations: 163.8 kB / 0.5948 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/0.04128, allocations: 99.56 kB / 0.5949 GB, free: 8.004 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.04132, allocations: 12 kB / 0.595 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003485/0.0448, allocations: 5.896 MB / 0.6007 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.04481, allocations: 3.938 kB / 0.6007 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.04617, allocations: 0.677 MB / 0.6014 GB, free: 1.059 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.04649, allocations: 131.3 kB / 0.6015 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.49e-05/0.04658, allocations: 23.97 kB / 0.6015 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.04692, allocations: 19.98 kB / 0.6015 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.04704, allocations: 48.34 kB / 0.6016 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.04707, allocations: 12 kB / 0.6016 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004334/0.0475, allocations: 410.8 kB / 0.602 GB, free: 444 kB / 474.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.0475, allocations: 0 / 0.602 GB, free: 444 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008883/0.04839, allocations: 223.9 kB / 0.6022 GB, free: 220 kB / 474.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.0003785/0.04877, allocations: 171 kB / 0.6024 GB, free: 36 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009984/0.04977, allocations: 0.5241 MB / 0.6029 GB, free: 15.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.04977, allocations: 4 kB / 0.6029 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007341/0.05051, allocations: 453.6 kB / 0.6033 GB, free: 15.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.05125, allocations: 190.3 kB / 0.6035 GB, free: 14.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.05359, allocations: 1.345 MB / 0.6048 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.05372, allocations: 151.7 kB / 0.605 GB, free: 13.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003737/0.05409, allocations: 105.5 kB / 0.6051 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005885/0.05468, allocations: 314 kB / 0.6054 GB, free: 12.86 MB / 490.7 MB Notification: Performance of SimCode: time 1.704e-06/0.05468, allocations: 0 / 0.6054 GB, free: 12.86 MB / 490.7 MB Notification: Performance of Templates: time 0.1683/0.223, allocations: 15.06 MB / 0.6201 GB, free: 132.3 MB / 490.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: 4.327723183203489]