Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.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.001114/0.001114, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] 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.001319/0.001319, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.034/1.034, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo): time 0.005524/0.005524, allocations: 1.025 MB / 261 MB, free: 12.12 MB / 250.7 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 4 kB / 334.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.846e-05, allocations: 2.312 kB / 334.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002159/0.002187, allocations: 1.831 MB / 336 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007565/0.002944, allocations: 0.5689 MB / 336.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.003006, allocations: 3.938 kB / 336.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.003144, allocations: 19.8 kB / 336.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.003189, allocations: 35.66 kB / 336.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.003407, allocations: 87.88 kB / 336.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.00356, allocations: 171.2 kB / 336.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.003675, allocations: 37.72 kB / 336.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.785e-05/0.003763, allocations: 83.8 kB / 337 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.003828, allocations: 35.83 kB / 337 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.003851, allocations: 12 kB / 337.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.003865, allocations: 8 kB / 337.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.003888, allocations: 23.92 kB / 337.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.003925, allocations: 55.83 kB / 337.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.004054, allocations: 79.67 kB / 337.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.004056, allocations: 3.938 kB / 337.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004057, allocations: 0 / 337.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.004062, allocations: 0 / 337.2 MB, free: 12.29 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003949/0.004456, allocations: 467.9 kB / 337.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.004494, allocations: 8.031 kB / 337.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.00454, allocations: 24.84 kB / 337.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.004674, allocations: 157.8 kB / 337.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.004685, allocations: 12.38 kB / 337.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.00471, allocations: 12.38 kB / 337.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.004859, allocations: 118.2 kB / 338 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.004866, allocations: 4.125 kB / 338 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.004879, allocations: 8.375 kB / 338 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.004886, allocations: 3.938 kB / 338 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.866e-05/0.004935, allocations: 19.98 kB / 338 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.005387, allocations: 0.5179 MB / 338.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.431e-05/0.005481, allocations: 50.98 kB / 338.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.005512, allocations: 19.81 kB / 338.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.005526, allocations: 4 kB / 338.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.005541, allocations: 33.39 kB / 338.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.005542, allocations: 0 / 338.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001551/0.005697, allocations: 77.53 kB / 338.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.005715, allocations: 51.41 kB / 338.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.005803, allocations: 226.3 kB / 339 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.00581, allocations: 33.7 kB / 339 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.005854, allocations: 160.6 kB / 339.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.005868, allocations: 27.78 kB / 339.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.0059, allocations: 39.33 kB / 339.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.005946, allocations: 0.4884 MB / 339.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.005971, allocations: 11.98 kB / 339.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.006003, allocations: 43.05 kB / 339.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.638e-05/0.00606, allocations: 66.92 kB / 339.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.006062, allocations: 4 kB / 339.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.704e-05/0.006149, allocations: 97.52 kB / 340 MB, free: 9.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.00616, allocations: 4 kB / 340 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.006165, allocations: 4 kB / 340 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.006176, allocations: 0 / 340 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.006271, allocations: 23.98 kB / 340 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.006277, allocations: 4 kB / 340 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.006309, allocations: 15.83 kB / 340 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.006316, allocations: 8 kB / 340 MB, free: 9.234 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.006362, allocations: 164.6 kB / 340.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.00638, allocations: 15.95 kB / 340.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.006404, allocations: 9.719 kB / 340.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006406, allocations: 4 kB / 340.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.006409, allocations: 4 kB / 340.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006412, allocations: 3.938 kB / 340.2 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.006612, allocations: 357 kB / 340.6 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006613, allocations: 0 / 340.6 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.006737, allocations: 31.97 kB / 340.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.00674, allocations: 0 / 340.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.006748, allocations: 4.031 kB / 340.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004501/0.007198, allocations: 1.809 MB / 342.4 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007199, allocations: 0 / 342.4 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.0073, allocations: 243.4 kB / 342.7 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.007324, allocations: 20.09 kB / 342.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-06/0.007332, allocations: 4 kB / 342.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.9e-05/0.007391, allocations: 4 kB / 342.7 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.007428, allocations: 7.984 kB / 342.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.007432, allocations: 4 kB / 342.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.282e-05/0.007475, allocations: 155.2 kB / 342.9 MB, free: 6.215 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007475, allocations: 0 / 342.9 MB, free: 6.215 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.00763, allocations: 27.89 kB / 342.9 MB, free: 6.188 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (tank.l) * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 5.846e-05/0.007688, allocations: 99.23 kB / 343 MB, free: 6.078 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.007791, allocations: 55.61 kB / 343 MB, free: 6.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.007793, allocations: 0 / 343 MB, free: 6.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.007877, allocations: 36.02 kB / 343.1 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.00812, allocations: 58.41 kB / 343.1 MB, free: 5.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.008747, allocations: 304.4 kB / 343.4 MB, free: 5.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.008777, allocations: 75.16 kB / 343.5 MB, free: 5.512 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.008818, allocations: 16.95 kB / 343.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.008854, allocations: 16.5 kB / 343.5 MB, free: 5.477 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008855, allocations: 0 / 343.5 MB, free: 5.477 MB / 266.7 MB Notification: Performance of Templates: time 0.00296/0.01181, allocations: 1.669 MB / 345.2 MB, free: 3.871 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.806569646112621]