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.001369/0.001369, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.9182/0.9182, allocations: 177.1 MB / 200.2 MB, free: 5.949 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.001164/0.001164, allocations: 155.9 kB / 256.7 MB, free: 13.35 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.2799/0.2799, allocations: 80.25 MB / 393.4 MB, free: 2.453 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.0203/0.0203, allocations: 4.799 MB / 481.4 MB, free: 4.41 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.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.373e-06/1.373e-06, allocations: 1.312 kB / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.498e-05, allocations: 2.906 kB / 0.6457 GB, free: 108 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValveWithCreek): time 0.002926/0.002941, allocations: 4.651 MB / 0.6502 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.005736, allocations: 2.978 MB / 0.6531 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.006026, allocations: 12.44 kB / 0.6531 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.007034, allocations: 1.095 MB / 0.6542 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.007512, allocations: 482.7 kB / 0.6546 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.008502, allocations: 0.8135 MB / 0.6554 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006577/0.00916, allocations: 1.389 MB / 0.6568 GB, free: 96.56 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004892/0.009649, allocations: 0.5695 MB / 0.6573 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.0101, allocations: 0.7246 MB / 0.6581 GB, free: 95.25 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.01041, allocations: 474.5 kB / 0.6585 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.041e-05/0.0105, allocations: 111.9 kB / 0.6586 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.01085, allocations: 347.5 kB / 0.6589 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.707e-05/0.01094, allocations: 258.8 kB / 0.6592 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.01114, allocations: 394.8 kB / 0.6596 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007003/0.01185, allocations: 1.32 MB / 0.6609 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01185, allocations: 0 / 0.6609 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01185, allocations: 3.938 kB / 0.6609 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.01186, allocations: 0 / 0.6609 GB, free: 92.37 MB / 0.5105 GB 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.001432/0.01329, allocations: 1.527 MB / 0.6624 GB, free: 90.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.01332, allocations: 8.031 kB / 0.6624 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.0137, allocations: 160.1 kB / 0.6625 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.01426, allocations: 0.6069 MB / 0.6631 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.01428, allocations: 58.38 kB / 0.6632 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.01434, allocations: 76.33 kB / 0.6632 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.01505, allocations: 1.191 MB / 0.6644 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.01507, allocations: 3.938 kB / 0.6644 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.01511, allocations: 32 kB / 0.6644 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.01512, allocations: 16 kB / 0.6644 GB, free: 88.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/0.01572, allocations: 0.5555 MB / 0.665 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.0177, allocations: 2.358 MB / 0.6673 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.01831, allocations: 0.5778 MB / 0.6679 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.0186, allocations: 279.3 kB / 0.6681 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.01891, allocations: 116.6 kB / 0.6682 GB, free: 84.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.01894, allocations: 51.2 kB / 0.6683 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=77): time 2.014e-06/0.01894, allocations: 0 / 0.6683 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85): time 0.002371/0.02131, allocations: 2.053 MB / 0.6703 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.02136, allocations: 402.5 kB / 0.6707 GB, free: 81.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.02197, allocations: 0.8528 MB / 0.6715 GB, free: 81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.02201, allocations: 41.7 kB / 0.6715 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.02216, allocations: 448.9 kB / 0.672 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.309e-05/0.02225, allocations: 305.4 kB / 0.6723 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.02238, allocations: 166.6 kB / 0.6724 GB, free: 80.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.707e-05/0.02241, allocations: 334 kB / 0.6727 GB, free: 79.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.0227, allocations: 257.9 kB / 0.673 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.0231, allocations: 0.7684 MB / 0.6737 GB, free: 78.54 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 (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.004144/0.02725, allocations: 2.649 MB / 0.6763 GB, free: 75.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.02725, allocations: 0 / 0.6763 GB, free: 75.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.000987/0.02824, allocations: 0.9466 MB / 0.6773 GB, free: 74.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.02825, allocations: 11.94 kB / 0.6773 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.02826, allocations: 0 / 0.6773 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003242/0.02858, allocations: 172.7 kB / 0.6774 GB, free: 74.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.02894, allocations: 171.8 kB / 0.6776 GB, free: 74.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.03068, allocations: 2.472 MB / 0.68 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.03099, allocations: 32.02 kB / 0.68 GB, free: 71.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.03102, allocations: 32 kB / 0.6801 GB, free: 71.94 MB / 0.5105 GB 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.0001903/0.03121, allocations: 225.6 kB / 0.6803 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/0.03129, allocations: 103.3 kB / 0.6804 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009743/0.03226, allocations: 0.9149 MB / 0.6813 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.03227, allocations: 12 kB / 0.6813 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.03228, allocations: 0 / 0.6813 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.03228, allocations: 7.969 kB / 0.6813 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.03374, allocations: 1.499 MB / 0.6828 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.03374, allocations: 4 kB / 0.6828 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.03418, allocations: 203.9 kB / 0.683 GB, free: 68.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/0.03447, allocations: 164.6 kB / 0.6831 GB, free: 68.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.0345, allocations: 23.98 kB / 0.6831 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.03669, allocations: 4.978 MB / 0.688 GB, free: 63.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.0367, allocations: 4.031 kB / 0.688 GB, free: 63.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.03796, allocations: 1.324 MB / 0.6893 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.03817, allocations: 175.1 kB / 0.6895 GB, free: 61.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.03824, allocations: 16 kB / 0.6895 GB, free: 61.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.03852, allocations: 31.98 kB / 0.6895 GB, free: 61.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.0386, allocations: 72.8 kB / 0.6896 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.03862, allocations: 27.94 kB / 0.6896 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005595/0.03918, allocations: 0.6044 MB / 0.6902 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.03918, allocations: 4 kB / 0.6902 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000519/0.0397, allocations: 299.9 kB / 0.6905 GB, free: 60.88 MB / 0.5105 GB 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.0002627/0.03996, allocations: 186.9 kB / 0.6907 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009976/0.04096, allocations: 0.8649 MB / 0.6915 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.04096, allocations: 0 / 0.6915 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006663/0.04163, allocations: 0.6006 MB / 0.6921 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.04224, allocations: 272.4 kB / 0.6923 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.04389, allocations: 1.874 MB / 0.6942 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.04407, allocations: 431.6 kB / 0.6946 GB, free: 56.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.04424, allocations: 84.47 kB / 0.6947 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of SimCode: time 7.42e-07/0.04424, allocations: 3.938 kB / 0.6947 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.01184/0.05607, allocations: 21.29 MB / 0.7155 GB, free: 35.28 MB / 0.5105 GB " [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 > OpenHPL_OpenHPL.Examples.SimpleValveWithCreek.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.118926284369081]