Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.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.001948/0.001948, allocations: 89.47 kB / 19.44 MB, free: 340 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.002031/0.002031, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.01027/0.01027, allocations: 1.025 MB / 260.6 MB, free: 12.15 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.NonInvertibleConfig.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 333.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.89e-05, allocations: 6.312 kB / 333.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD): time 0.003692/0.003721, allocations: 1.887 MB / 335.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.005028, allocations: 0.5686 MB / 335.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.005143, allocations: 4 kB / 335.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.005344, allocations: 19.73 kB / 335.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.005457, allocations: 31.72 kB / 335.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.005813, allocations: 91.81 kB / 336 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.006177, allocations: 187.5 kB / 336.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.006375, allocations: 45.78 kB / 336.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.006531, allocations: 87.66 kB / 336.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.006639, allocations: 39.83 kB / 336.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.006675, allocations: 12 kB / 336.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.006705, allocations: 12 kB / 336.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.006741, allocations: 27.91 kB / 336.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.0068, allocations: 35.86 kB / 336.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.007064, allocations: 135.5 kB / 336.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.007069, allocations: 3.938 kB / 336.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00707, allocations: 0 / 336.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.007077, allocations: 0 / 336.6 MB, free: 12.53 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007358/0.007813, allocations: 487.8 kB / 337.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.007851, allocations: 8.031 kB / 337.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.058e-05/0.007941, allocations: 32.8 kB / 337.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.008196, allocations: 161.7 kB / 337.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.008219, allocations: 12.61 kB / 337.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.008256, allocations: 12.38 kB / 337.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.008564, allocations: 132.6 kB / 337.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.008579, allocations: 192 / 337.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.008597, allocations: 4.375 kB / 337.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.008606, allocations: 11.94 kB / 337.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.008846, allocations: 63.89 kB / 337.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.009867, allocations: 0.5452 MB / 338 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.01022, allocations: 90.95 kB / 338.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.01033, allocations: 35.73 kB / 338.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.01036, allocations: 4 kB / 338.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.01038, allocations: 45.39 kB / 338.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.744e-06/0.01038, allocations: 0 / 338.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004311/0.01081, allocations: 113.5 kB / 338.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.01084, allocations: 55.41 kB / 338.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.01105, allocations: 249.8 kB / 338.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.01106, allocations: 29.7 kB / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.01114, allocations: 179.1 kB / 338.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.01117, allocations: 31.73 kB / 338.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.01126, allocations: 51.36 kB / 338.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.01134, allocations: 0.4962 MB / 339.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.01146, allocations: 43.67 kB / 339.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.01161, allocations: 86.11 kB / 339.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.01187, allocations: 122 kB / 339.6 MB, free: 9.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01188, allocations: 0 / 339.6 MB, free: 9.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004025/0.01228, allocations: 161.5 kB / 339.8 MB, free: 9.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.0123, allocations: 4 kB / 339.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.01231, allocations: 4 kB / 339.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.01233, allocations: 3.938 kB / 339.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.01254, allocations: 31.98 kB / 339.8 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.01255, allocations: 0 / 339.8 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.01267, allocations: 15.89 kB / 339.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.01269, allocations: 11.94 kB / 339.9 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001756/0.01286, allocations: 166.9 kB / 340 MB, free: 8.805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001356/0.013, allocations: 92.38 kB / 340.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002415/0.01324, allocations: 125.4 kB / 340.2 MB, free: 8.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.01324, allocations: 0 / 340.2 MB, free: 8.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization_lambda0): time 0.0003829/0.01362, allocations: 153.5 kB / 340.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.01363, allocations: 8.156 kB / 340.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.01364, allocations: 0 / 340.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.01364, allocations: 7.984 kB / 340.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.01384, allocations: 31.88 kB / 340.4 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01385, allocations: 7.984 kB / 340.4 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01396, allocations: 8 kB / 340.5 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.01397, allocations: 7.938 kB / 340.5 MB, free: 8.32 MB / 266.7 MB 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 (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.395e-05/0.01404, allocations: 280 kB / 340.7 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.0141, allocations: 15.91 kB / 340.8 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.01415, allocations: 13.47 kB / 340.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01415, allocations: 11.94 kB / 340.8 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.01415, allocations: 0 / 340.8 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01416, allocations: 3.984 kB / 340.8 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.0147, allocations: 397 kB / 341.2 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.0147, allocations: 3.984 kB / 341.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.01487, allocations: 19.98 kB / 341.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01488, allocations: 3.938 kB / 341.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.01489, allocations: 4 kB / 341.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01489, allocations: 0 / 341.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.0149, allocations: 4 kB / 341.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.01525, allocations: 279.9 kB / 341.5 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.0153, allocations: 19.83 kB / 341.5 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.01533, allocations: 4 kB / 341.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.01548, allocations: 4 kB / 341.5 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.01552, allocations: 7.984 kB / 341.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.01553, allocations: 0 / 341.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.01564, allocations: 172.2 kB / 341.7 MB, free: 7.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.01564, allocations: 0 / 341.7 MB, free: 7.031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006155/0.01626, allocations: 51.84 kB / 341.7 MB, free: 6.98 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 (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001032/0.01636, allocations: 111.2 kB / 341.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004828/0.01685, allocations: 159.2 kB / 342 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01685, allocations: 0 / 342 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01696, allocations: 43.59 kB / 342 MB, free: 6.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.0176, allocations: 47.06 kB / 342.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.01835, allocations: 320.7 kB / 342.4 MB, free: 6.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.01845, allocations: 111.6 kB / 342.5 MB, free: 6.141 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.01855, allocations: 12.64 kB / 342.5 MB, free: 6.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.0186, allocations: 12.5 kB / 342.5 MB, free: 6.117 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0186, allocations: 0 / 342.5 MB, free: 6.117 MB / 266.7 MB Notification: Performance of Templates: time 0.005684/0.02429, allocations: 1.379 MB / 343.9 MB, free: 4.789 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.512094683013856]