Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_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.001165/0.001165, 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.001329/0.001329, 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.025/1.025, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.006562/0.006562, allocations: 1.03 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.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 334.2 MB, free: 432 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.565e-05/3.862e-05, allocations: 2.312 kB / 334.2 MB, free: 428 kB / 298.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.002937/0.002976, allocations: 2.009 MB / 336.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.004051, allocations: 0.5921 MB / 336.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.004179, allocations: 4 kB / 336.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.004363, allocations: 27.73 kB / 336.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.004438, allocations: 35.66 kB / 336.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.004794, allocations: 111.7 kB / 336.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.005069, allocations: 179.3 kB / 337.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.005252, allocations: 37.78 kB / 337.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.005408, allocations: 99.72 kB / 337.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.005504, allocations: 43.83 kB / 337.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.005532, allocations: 12 kB / 337.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.00555, allocations: 12 kB / 337.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.00558, allocations: 35.84 kB / 337.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.005626, allocations: 47.83 kB / 337.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.00581, allocations: 107.5 kB / 337.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005812, allocations: 0 / 337.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005814, allocations: 0 / 337.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.00582, allocations: 0 / 337.5 MB, free: 13.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006361/0.006456, allocations: 487.8 kB / 338 MB, free: 12.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.006501, allocations: 15.97 kB / 338 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.00656, allocations: 24.8 kB / 338 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.006774, allocations: 176.3 kB / 338.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.006789, allocations: 12.38 kB / 338.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.006818, allocations: 12.38 kB / 338.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.007028, allocations: 130.7 kB / 338.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.007036, allocations: 192 / 338.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.00705, allocations: 4.375 kB / 338.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.00706, allocations: 7.938 kB / 338.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.581e-05/0.007126, allocations: 31.97 kB / 338.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.007772, allocations: 0.5529 MB / 338.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.00792, allocations: 63.05 kB / 339 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.007968, allocations: 31.67 kB / 339 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.007985, allocations: 192 / 339 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.008011, allocations: 41.33 kB / 339.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.404e-06/0.008013, allocations: 3.984 kB / 339.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002209/0.008234, allocations: 101.5 kB / 339.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.008268, allocations: 55.34 kB / 339.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.00841, allocations: 235.5 kB / 339.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.008422, allocations: 25.7 kB / 339.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.0085, allocations: 179.1 kB / 339.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.008523, allocations: 35.64 kB / 339.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.008568, allocations: 43.36 kB / 339.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.008688, allocations: 0.4962 MB / 340.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.008725, allocations: 15.98 kB / 340.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.008776, allocations: 48.3 kB / 340.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.008862, allocations: 81.23 kB / 340.4 MB, free: 9.945 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008864, allocations: 4 kB / 340.4 MB, free: 9.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001329/0.008997, allocations: 117.5 kB / 340.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.009011, allocations: 4 kB / 340.5 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009017, allocations: 0 / 340.5 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.009028, allocations: 4 kB / 340.5 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.009156, allocations: 39.86 kB / 340.5 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.009163, allocations: 4 kB / 340.6 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.009196, allocations: 15.89 kB / 340.6 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.009204, allocations: 7.984 kB / 340.6 MB, free: 9.746 MB / 314.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 (18): * Single equations (assignments): 18 * 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 7.44e-05/0.009279, allocations: 160.6 kB / 340.7 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.009301, allocations: 19.91 kB / 340.8 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.009327, allocations: 13.47 kB / 340.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.009329, allocations: 0 / 340.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.009333, allocations: 3.938 kB / 340.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009337, allocations: 0 / 340.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.009657, allocations: 385 kB / 341.1 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.009658, allocations: 0 / 341.1 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.009829, allocations: 39.91 kB / 341.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.009833, allocations: 4.031 kB / 341.2 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.009847, allocations: 3.938 kB / 341.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008269/0.01067, allocations: 1.809 MB / 343 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01067, allocations: 0 / 343 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.01085, allocations: 263.4 kB / 343.3 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.01088, allocations: 28.05 kB / 343.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.01089, allocations: 0 / 343.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.01094, allocations: 0 / 343.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.01098, allocations: 7.984 kB / 343.3 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.01098, allocations: 11.94 kB / 343.3 MB, free: 6.816 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.191e-05/0.01106, allocations: 165.1 kB / 343.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01106, allocations: 0 / 343.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.01122, allocations: 31.94 kB / 343.5 MB, free: 6.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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 9.933e-05/0.01132, allocations: 95.25 kB / 343.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.01147, allocations: 81.81 kB / 343.7 MB, free: 6.441 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.01147, allocations: 0 / 343.7 MB, free: 6.441 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.01159, allocations: 35.95 kB / 343.7 MB, free: 6.402 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.01191, allocations: 54 kB / 343.8 MB, free: 6.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008137/0.01272, allocations: 356.9 kB / 344.1 MB, free: 5.977 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.01277, allocations: 71.83 kB / 344.2 MB, free: 5.887 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.208e-05/0.01282, allocations: 21.36 kB / 344.2 MB, free: 5.863 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.01286, allocations: 16.5 kB / 344.2 MB, free: 5.848 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01286, allocations: 0 / 344.2 MB, free: 5.848 MB / 314.7 MB Notification: Performance of Templates: time 0.004683/0.01755, allocations: 1.785 MB / 346 MB, free: 4.125 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_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.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8493730360642076]