Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.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.00145/0.00145, 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.006/1.006, allocations: 177.2 MB / 200 MB, free: 5.816 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.001385/0.001385, allocations: 172.1 kB / 256.6 MB, free: 13.12 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.2828/0.2828, allocations: 80.24 MB / 393.4 MB, free: 2.168 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.02477/0.02477, allocations: 4.793 MB / 481.5 MB, free: 3.766 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.SimpleValveWithCreek,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValveWithCreek") translateModel(OpenHPL.Examples.SimpleValveWithCreek,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.SimpleValveWithCreek") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.5674 GB, free: 84 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.097e-05, allocations: 2.312 kB / 0.5674 GB, free: 80 kB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.1903/0.1903, allocations: 5.085 MB / 0.5724 GB, free: 93.71 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.1956, allocations: 3.12 MB / 0.5754 GB, free: 91.67 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007911/0.1964, allocations: 7.188 kB / 0.5754 GB, free: 91.67 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.1979, allocations: 1.176 MB / 0.5766 GB, free: 90.97 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.1991, allocations: 483.5 kB / 0.577 GB, free: 90.64 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.2013, allocations: 0.812 MB / 0.5778 GB, free: 90.26 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.203, allocations: 1.379 MB / 0.5792 GB, free: 89.54 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009549/0.204, allocations: 0.5696 MB / 0.5797 GB, free: 89.23 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.2051, allocations: 0.7286 MB / 0.5804 GB, free: 88.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007649/0.2058, allocations: 475.5 kB / 0.5809 GB, free: 88.74 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.2061, allocations: 108.8 kB / 0.581 GB, free: 88.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007849/0.2069, allocations: 347.5 kB / 0.5813 GB, free: 88.69 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.2071, allocations: 263.8 kB / 0.5816 GB, free: 88.51 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004781/0.2075, allocations: 398.7 kB / 0.5819 GB, free: 88.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.2091, allocations: 1.016 MB / 0.5829 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2092, allocations: 0 / 0.5829 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2092, allocations: 0 / 0.5829 GB, free: 87.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.867e-05/0.2092, allocations: 0.5312 kB / 0.5829 GB, free: 87.9 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003271/0.2125, allocations: 1.64 MB / 0.5845 GB, free: 86.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.2125, allocations: 10.06 kB / 0.5846 GB, free: 86.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007236/0.2133, allocations: 223.7 kB / 0.5848 GB, free: 86.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007673/0.214, allocations: 0.6016 MB / 0.5854 GB, free: 86.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.2141, allocations: 54.03 kB / 0.5854 GB, free: 86.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.821e-05/0.2141, allocations: 78.66 kB / 0.5855 GB, free: 86.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/0.215, allocations: 1.094 MB / 0.5865 GB, free: 84.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.215, allocations: 5.812 kB / 0.5866 GB, free: 84.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/0.215, allocations: 29.09 kB / 0.5866 GB, free: 84.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.2151, allocations: 17.38 kB / 0.5866 GB, free: 84.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.2156, allocations: 318.2 kB / 0.5869 GB, free: 84.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.2181, allocations: 2.651 MB / 0.5895 GB, free: 82.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.2187, allocations: 431.2 kB / 0.5899 GB, free: 82.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.219, allocations: 181.5 kB / 0.5901 GB, free: 82.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004384/0.2194, allocations: 122.3 kB / 0.5902 GB, free: 82.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2195, allocations: 50.91 kB / 0.5902 GB, free: 82.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=77): time 2.645e-06/0.2195, allocations: 4.969 kB / 0.5902 GB, free: 82.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.00261/0.2221, allocations: 1.604 MB / 0.5918 GB, free: 81.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.2221, allocations: 397.9 kB / 0.5922 GB, free: 80.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009434/0.2231, allocations: 0.8051 MB / 0.593 GB, free: 80.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.2231, allocations: 46.73 kB / 0.593 GB, free: 80.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.2234, allocations: 0.4986 MB / 0.5935 GB, free: 80.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.2235, allocations: 300.1 kB / 0.5938 GB, free: 79.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.2237, allocations: 164.5 kB / 0.594 GB, free: 79.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.2238, allocations: 0.5045 MB / 0.5944 GB, free: 79.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.2241, allocations: 136.6 kB / 0.5946 GB, free: 79.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.2245, allocations: 0.6998 MB / 0.5953 GB, free: 78.37 MB / 442.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 (tunnel2.Vdot_0 - discharge.Vdot_0 = surgeTank.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: creekIntake.Vdot = creekIntake.Vdot_0 (tunnel1.Vdot_0 - tunnel2.Vdot_0 = creekIntake.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.2267, allocations: 1.247 MB / 0.5965 GB, free: 77.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2267, allocations: 1.25 kB / 0.5965 GB, free: 77.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001188/0.2279, allocations: 0.7401 MB / 0.5972 GB, free: 77.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2279, allocations: 4.75 kB / 0.5972 GB, free: 77.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2279, allocations: 4 kB / 0.5972 GB, free: 77.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005466/0.2285, allocations: 173.4 kB / 0.5974 GB, free: 77.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.2289, allocations: 175.7 kB / 0.5975 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.2308, allocations: 2.717 MB / 0.6002 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.2312, allocations: 28 kB / 0.6002 GB, free: 74.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.2312, allocations: 33.2 kB / 0.6003 GB, free: 74.21 MB / 442.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: penstock.Vdot = penstock.Vdot_0 surgeTank.Vdot = surgeTank.Vdot_0 creekIntake.Vdot = creekIntake.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (91): * Single equations (assignments): 90 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.2314, allocations: 224 kB / 0.6005 GB, free: 73.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.2316, allocations: 131.3 kB / 0.6006 GB, free: 73.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.2326, allocations: 0.7008 MB / 0.6013 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2326, allocations: 9.812 kB / 0.6013 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2326, allocations: 4 kB / 0.6013 GB, free: 73.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2326, allocations: 3.984 kB / 0.6013 GB, free: 73.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.2342, allocations: 1.312 MB / 0.6026 GB, free: 71.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2342, allocations: 0 / 0.6026 GB, free: 71.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.2348, allocations: 207 kB / 0.6028 GB, free: 71.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005028/0.2353, allocations: 188.4 kB / 0.603 GB, free: 71.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.2353, allocations: 23.98 kB / 0.603 GB, free: 71.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.2378, allocations: 6.318 MB / 0.6091 GB, free: 64.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2378, allocations: 0 / 0.6091 GB, free: 64.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.2391, allocations: 1.021 MB / 0.6101 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.2393, allocations: 180.1 kB / 0.6103 GB, free: 63.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.2395, allocations: 24 kB / 0.6103 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.2398, allocations: 27.98 kB / 0.6104 GB, free: 63.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.2399, allocations: 71.66 kB / 0.6104 GB, free: 63.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.24, allocations: 27.92 kB / 0.6105 GB, free: 63.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005134/0.2405, allocations: 0.5488 MB / 0.611 GB, free: 62.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2405, allocations: 0 / 0.611 GB, free: 62.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008263/0.2413, allocations: 303.9 kB / 0.6113 GB, free: 62.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (reservoir.m,tunnel1.mdot,discharge.mdot,tail.m,creekIntake.m,tunnel2.mdot,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 (72): * Single equations (assignments): 69 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003127/0.2416, allocations: 180 kB / 0.6115 GB, free: 62.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.2427, allocations: 0.7582 MB / 0.6122 GB, free: 61.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2427, allocations: 0 / 0.6122 GB, free: 61.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007775/0.2435, allocations: 0.5873 MB / 0.6128 GB, free: 60.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.2444, allocations: 276.6 kB / 0.613 GB, free: 60.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.2469, allocations: 1.841 MB / 0.6148 GB, free: 58.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.247, allocations: 193.5 kB / 0.615 GB, free: 58.63 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004244/0.2474, allocations: 138 kB / 0.6151 GB, free: 58.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.2477, allocations: 92.45 kB / 0.6152 GB, free: 58.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2477, allocations: 0 / 0.6152 GB, free: 58.41 MB / 442.7 MB Notification: Performance of Templates: time 0.02346/0.2712, allocations: 19.87 MB / 0.6346 GB, free: 39.03 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe ; mkfifo OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe >> ../files/OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.sim & ./OpenHPL_OpenHPL.Examples.SimpleValveWithCreek -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.277777109760791]