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.0009599/0.0009599, allocations: 93.06 kB / 19.65 MB, free: 276 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.018/1.018, allocations: 177.2 MB / 200 MB, free: 5.539 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.001366/0.001366, allocations: 163.5 kB / 256.6 MB, free: 12.98 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.3187/0.3187, allocations: 80.24 MB / 393.4 MB, free: 2.156 MB / 314.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.02089/0.02089, allocations: 4.806 MB / 481.5 MB, free: 4.145 MB / 394.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.844e-06/1.844e-06, allocations: 0 / 0.5674 GB, free: 452 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.741e-05, allocations: 5.969 kB / 0.5674 GB, free: 448 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.003863/0.00389, allocations: 4.033 MB / 0.5713 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003661/0.007551, allocations: 2.72 MB / 0.574 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.007871, allocations: 7.938 kB / 0.574 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.009024, allocations: 0.8316 MB / 0.5748 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.009669, allocations: 353.4 kB / 0.5752 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.01098, allocations: 0.6231 MB / 0.5758 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008878/0.01187, allocations: 0.9846 MB / 0.5767 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.01249, allocations: 413.4 kB / 0.5771 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005939/0.01308, allocations: 0.5259 MB / 0.5776 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.01374, allocations: 338.9 kB / 0.578 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.553e-05/0.01383, allocations: 76 kB / 0.578 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.01428, allocations: 307.6 kB / 0.5783 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.01439, allocations: 195 kB / 0.5785 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.01461, allocations: 279.2 kB / 0.5788 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000788/0.0154, allocations: 0.8018 MB / 0.5796 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.0154, allocations: 4 kB / 0.5796 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.253e-06/0.0154, allocations: 0 / 0.5796 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.01541, allocations: 4 kB / 0.5796 GB, free: 3.902 MB / 0.4948 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.001512/0.01692, allocations: 1.282 MB / 0.5808 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.01696, allocations: 12.03 kB / 0.5808 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.01738, allocations: 164.3 kB / 0.581 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.01789, allocations: 476.8 kB / 0.5814 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.01791, allocations: 37.38 kB / 0.5815 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.01798, allocations: 56.38 kB / 0.5815 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.01859, allocations: 0.7472 MB / 0.5823 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.0186, allocations: 192 / 0.5823 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.01864, allocations: 28.38 kB / 0.5823 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.01865, allocations: 11.94 kB / 0.5823 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.01899, allocations: 225.7 kB / 0.5825 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.02077, allocations: 1.867 MB / 0.5843 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.02117, allocations: 302.7 kB / 0.5846 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004328/0.0216, allocations: 129.1 kB / 0.5847 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.02194, allocations: 120.4 kB / 0.5849 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.02197, allocations: 45.83 kB / 0.5849 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 1.773e-06/0.02197, allocations: 0 / 0.5849 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.001762/0.02373, allocations: 1.155 MB / 0.586 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.02382, allocations: 295.2 kB / 0.5863 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.02434, allocations: 0.6362 MB / 0.5869 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.02437, allocations: 37.7 kB / 0.587 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.02454, allocations: 392 kB / 0.5873 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.02465, allocations: 206.2 kB / 0.5875 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.02477, allocations: 128 kB / 0.5877 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.02491, allocations: 0.5508 MB / 0.5882 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.02506, allocations: 93.23 kB / 0.5883 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.02535, allocations: 0.4899 MB / 0.5888 GB, free: 9.895 MB / 0.5105 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.001078/0.02643, allocations: 0.7224 MB / 0.5895 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02643, allocations: 4 kB / 0.5895 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006879/0.02712, allocations: 0.5197 MB / 0.59 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.02714, allocations: 8 kB / 0.59 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.02715, allocations: 0 / 0.59 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.02747, allocations: 107.5 kB / 0.5901 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.02775, allocations: 123.9 kB / 0.5902 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.0295, allocations: 2.376 MB / 0.5925 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.02972, allocations: 20 kB / 0.5926 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.02975, allocations: 24.09 kB / 0.5926 GB, free: 5.836 MB / 0.5105 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.0001623/0.02991, allocations: 204.2 kB / 0.5928 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.03001, allocations: 91.53 kB / 0.5929 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006529/0.03066, allocations: 0.5001 MB / 0.5933 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.03067, allocations: 8 kB / 0.5934 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.03067, allocations: 0 / 0.5934 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.03068, allocations: 3.984 kB / 0.5934 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.03168, allocations: 0.9777 MB / 0.5943 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.03168, allocations: 0 / 0.5943 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.03206, allocations: 155.8 kB / 0.5945 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/0.03234, allocations: 111.5 kB / 0.5946 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.03236, allocations: 19.98 kB / 0.5946 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.189/0.2213, allocations: 5.959 MB / 0.6004 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2213, allocations: 3.094 kB / 0.6004 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.2224, allocations: 0.7546 MB / 0.6011 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.2226, allocations: 121.6 kB / 0.6013 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.2227, allocations: 18.58 kB / 0.6013 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.2229, allocations: 18.34 kB / 0.6013 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.223, allocations: 46.88 kB / 0.6013 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.223, allocations: 23.78 kB / 0.6014 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003382/0.2233, allocations: 448.3 kB / 0.6018 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2233, allocations: 0.5312 kB / 0.6018 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005609/0.2239, allocations: 223.1 kB / 0.602 GB, free: 163.5 MB / 0.5105 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.0003196/0.2242, allocations: 175.2 kB / 0.6022 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008535/0.2251, allocations: 0.5589 MB / 0.6027 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2251, allocations: 1.281 kB / 0.6027 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.2257, allocations: 470 kB / 0.6032 GB, free: 163 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.2262, allocations: 199.5 kB / 0.6034 GB, free: 163 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.2282, allocations: 1.351 MB / 0.6047 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2283, allocations: 154 kB / 0.6048 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.2286, allocations: 96.17 kB / 0.6049 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.2288, allocations: 69.72 kB / 0.605 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/0.2288, allocations: 0 / 0.605 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.01942/0.2482, allocations: 14.61 MB / 0.6193 GB, free: 158.1 MB / 0.5105 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: 4.27652169438079]