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.001048/0.001048, allocations: 93.06 kB / 19.65 MB, free: 272 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 0.9437/0.9437, allocations: 177.1 MB / 200 MB, free: 4.449 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.001272/0.001272, allocations: 164.7 kB / 256.6 MB, free: 240 kB / 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.4249/0.4249, allocations: 80.21 MB / 393.4 MB, free: 10.02 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.03307/0.03307, allocations: 4.796 MB / 481.5 MB, free: 2.188 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 2.194e-06/2.194e-06, allocations: 0 / 0.5674 GB, free: 52.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.011e-05, allocations: 2.312 kB / 0.5674 GB, free: 52.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.SimpleValve): time 0.003501/0.003531, allocations: 4.029 MB / 0.5713 GB, free: 48.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.007045, allocations: 2.727 MB / 0.574 GB, free: 45.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.007397, allocations: 7.938 kB / 0.574 GB, free: 45.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.008407, allocations: 0.8356 MB / 0.5748 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005793/0.008986, allocations: 341.4 kB / 0.5751 GB, free: 44.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.01028, allocations: 0.6348 MB / 0.5758 GB, free: 43.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006102/0.01089, allocations: 0.984 MB / 0.5767 GB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.01128, allocations: 405.8 kB / 0.5771 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.01171, allocations: 0.522 MB / 0.5776 GB, free: 41.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.012, allocations: 338.9 kB / 0.5779 GB, free: 41.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.854e-05/0.01208, allocations: 76 kB / 0.578 GB, free: 41.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.01256, allocations: 315.6 kB / 0.5783 GB, free: 41.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.153e-05/0.01265, allocations: 195.1 kB / 0.5785 GB, free: 40.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.01282, allocations: 279.1 kB / 0.5788 GB, free: 40.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007239/0.01354, allocations: 0.8018 MB / 0.5795 GB, free: 39.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01355, allocations: 0 / 0.5795 GB, free: 39.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01355, allocations: 0 / 0.5795 GB, free: 39.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.01356, allocations: 0 / 0.5795 GB, free: 39.86 MB / 410.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.001288/0.01485, allocations: 1.298 MB / 0.5808 GB, free: 38.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.01489, allocations: 8.031 kB / 0.5808 GB, free: 38.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.01529, allocations: 160.3 kB / 0.581 GB, free: 38.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.01575, allocations: 480.8 kB / 0.5814 GB, free: 37.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.01577, allocations: 37.38 kB / 0.5815 GB, free: 37.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.01583, allocations: 52.38 kB / 0.5815 GB, free: 37.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.01634, allocations: 0.7511 MB / 0.5822 GB, free: 36.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.01636, allocations: 4.188 kB / 0.5823 GB, free: 36.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.01639, allocations: 20.36 kB / 0.5823 GB, free: 36.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.01641, allocations: 15.94 kB / 0.5823 GB, free: 36.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.01673, allocations: 225.7 kB / 0.5825 GB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.01829, allocations: 1.871 MB / 0.5843 GB, free: 34.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.01869, allocations: 303.3 kB / 0.5846 GB, free: 34.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.01885, allocations: 131.1 kB / 0.5847 GB, free: 34.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003822/0.01923, allocations: 124.4 kB / 0.5849 GB, free: 34.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.01926, allocations: 45.83 kB / 0.5849 GB, free: 34.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 2.815e-06/0.01926, allocations: 0 / 0.5849 GB, free: 34.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=59): time 0.001805/0.02106, allocations: 1.155 MB / 0.586 GB, free: 32.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.02112, allocations: 295.2 kB / 0.5863 GB, free: 32.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.02158, allocations: 0.6322 MB / 0.5869 GB, free: 31.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.02161, allocations: 41.7 kB / 0.587 GB, free: 31.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.02176, allocations: 387.9 kB / 0.5873 GB, free: 31.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/0.02184, allocations: 214.2 kB / 0.5875 GB, free: 31.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.02195, allocations: 116 kB / 0.5877 GB, free: 31.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.02205, allocations: 0.5586 MB / 0.5882 GB, free: 30.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.02219, allocations: 93.23 kB / 0.5883 GB, free: 30.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.02243, allocations: 497.7 kB / 0.5888 GB, free: 29.84 MB / 410.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.001069/0.0235, allocations: 0.72 MB / 0.5895 GB, free: 29.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.02351, allocations: 4 kB / 0.5895 GB, free: 29.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006752/0.02418, allocations: 0.508 MB / 0.59 GB, free: 28.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.02421, allocations: 4 kB / 0.59 GB, free: 28.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.02422, allocations: 4 kB / 0.59 GB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00039/0.02461, allocations: 111.7 kB / 0.5901 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.02491, allocations: 127.9 kB / 0.5902 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.02635, allocations: 2.367 MB / 0.5925 GB, free: 25.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.02669, allocations: 23.98 kB / 0.5925 GB, free: 25.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.02672, allocations: 20 kB / 0.5926 GB, free: 25.81 MB / 410.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.0002249/0.02694, allocations: 208.3 kB / 0.5928 GB, free: 25.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.906e-05/0.02704, allocations: 91.53 kB / 0.5928 GB, free: 25.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000731/0.02777, allocations: 0.504 MB / 0.5933 GB, free: 24.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.02778, allocations: 4 kB / 0.5933 GB, free: 24.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.02779, allocations: 4 kB / 0.5933 GB, free: 24.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.02779, allocations: 3.984 kB / 0.5933 GB, free: 24.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.02885, allocations: 0.9738 MB / 0.5943 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.02886, allocations: 4 kB / 0.5943 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.02925, allocations: 159.9 kB / 0.5945 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.02955, allocations: 111.6 kB / 0.5946 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.02957, allocations: 15.98 kB / 0.5946 GB, free: 23.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.03163, allocations: 5.97 MB / 0.6004 GB, free: 17.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.03163, allocations: 0 / 0.6004 GB, free: 17.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.0325, allocations: 0.7474 MB / 0.6011 GB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.0327, allocations: 131.4 kB / 0.6013 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.03275, allocations: 12 kB / 0.6013 GB, free: 16.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.03297, allocations: 24.03 kB / 0.6013 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.03306, allocations: 48.41 kB / 0.6013 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.03308, allocations: 19.98 kB / 0.6014 GB, free: 16.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003447/0.03343, allocations: 439 kB / 0.6018 GB, free: 15.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03343, allocations: 0 / 0.6018 GB, free: 15.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006107/0.03404, allocations: 227.8 kB / 0.602 GB, free: 15.68 MB / 410.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.0003802/0.03442, allocations: 189.1 kB / 0.6022 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008232/0.03524, allocations: 0.5516 MB / 0.6027 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.03524, allocations: 0 / 0.6027 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.03577, allocations: 477.5 kB / 0.6032 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.03636, allocations: 192.5 kB / 0.6034 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.03828, allocations: 1.356 MB / 0.6047 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.98e-05/0.03838, allocations: 151.7 kB / 0.6048 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.03867, allocations: 101.5 kB / 0.6049 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.03882, allocations: 72.45 kB / 0.605 GB, free: 12.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.03882, allocations: 0 / 0.605 GB, free: 12.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01632/0.05514, allocations: 13.71 MB / 0.6184 GB, free: 15.07 MB / 426.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.277782076969743]