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.000902/0.000902, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.00152/0.00152, allocations: 170 kB / 23.27 MB, free: 1.223 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.9681/0.9681, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.004719/0.004719, allocations: 1.022 MB / 261.3 MB, free: 11.96 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 1.833e-06/1.833e-06, allocations: 0 / 334.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.099e-05, allocations: 4.703 kB / 334.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002659/0.00268, allocations: 1.828 MB / 336.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000808/0.003488, allocations: 0.5649 MB / 337 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.003548, allocations: 4 kB / 337 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.003668, allocations: 23.73 kB / 337.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.003719, allocations: 35.7 kB / 337.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.003895, allocations: 91.81 kB / 337.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.004021, allocations: 167.3 kB / 337.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.004118, allocations: 41.66 kB / 337.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.004201, allocations: 79.8 kB / 337.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.004258, allocations: 39.83 kB / 337.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.004278, allocations: 12 kB / 337.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.00429, allocations: 8 kB / 337.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.004312, allocations: 31.84 kB / 337.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.004342, allocations: 35.92 kB / 337.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.004446, allocations: 91.64 kB / 337.7 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004448, allocations: 0 / 337.7 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004449, allocations: 0 / 337.7 MB, free: 12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.004452, allocations: 0 / 337.7 MB, free: 12 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.0003225/0.004774, allocations: 475.8 kB / 338.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.004803, allocations: 8.031 kB / 338.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.004833, allocations: 20.84 kB / 338.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.695e-05/0.00493, allocations: 157.8 kB / 338.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.004939, allocations: 12.38 kB / 338.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.004956, allocations: 12.38 kB / 338.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.005065, allocations: 113.3 kB / 338.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.005071, allocations: 4.188 kB / 338.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.005078, allocations: 384 / 338.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.005083, allocations: 3.938 kB / 338.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.005115, allocations: 30.88 kB / 338.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.005449, allocations: 498.9 kB / 339 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.005509, allocations: 43.05 kB / 339 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.889e-05/0.005528, allocations: 19.81 kB / 339 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.00554, allocations: 0 / 339 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.005553, allocations: 41.38 kB / 339.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.005553, allocations: 3.938 kB / 339.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001163/0.00567, allocations: 65.59 kB / 339.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.367e-05/0.005683, allocations: 51.41 kB / 339.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.005754, allocations: 218.3 kB / 339.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.005761, allocations: 29.7 kB / 339.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.0058, allocations: 176.5 kB / 339.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.005812, allocations: 23.73 kB / 339.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.005843, allocations: 43.3 kB / 339.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.878e-05/0.005882, allocations: 0.4961 MB / 340.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.005899, allocations: 8 kB / 340.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.005921, allocations: 39.03 kB / 340.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.005965, allocations: 58.92 kB / 340.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.005967, allocations: 0 / 340.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.102e-05/0.006038, allocations: 89.58 kB / 340.4 MB, free: 9.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.006047, allocations: 4 kB / 340.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.006051, allocations: 0 / 340.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.006062, allocations: 4 kB / 340.4 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.006142, allocations: 35.86 kB / 340.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.006145, allocations: 0 / 340.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.006176, allocations: 20.12 kB / 340.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.006181, allocations: 3.938 kB / 340.4 MB, free: 9.004 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 3.84e-05/0.006219, allocations: 160.6 kB / 340.6 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.006235, allocations: 11.95 kB / 340.6 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.006256, allocations: 17.47 kB / 340.6 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.006257, allocations: 0 / 340.6 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.006258, allocations: 0 / 340.6 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.006261, allocations: 3.984 kB / 340.6 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.006429, allocations: 329.6 kB / 340.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.00643, allocations: 7.984 kB / 341 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.006535, allocations: 27.92 kB / 341 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006536, allocations: 0 / 341 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.006543, allocations: 4.031 kB / 341 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00039/0.006933, allocations: 1.79 MB / 342.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006934, allocations: 0 / 342.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.854e-05/0.007022, allocations: 231.5 kB / 343 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.007043, allocations: 15.92 kB / 343 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.007051, allocations: 12.09 kB / 343 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-05/0.007095, allocations: 4 kB / 343 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.00712, allocations: 7.984 kB / 343 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.007123, allocations: 128 / 343 MB, free: 6.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.279e-05/0.007156, allocations: 155.1 kB / 343.2 MB, free: 6.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007156, allocations: 0 / 343.2 MB, free: 6.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.007311, allocations: 27.89 kB / 343.2 MB, free: 6.035 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.595e-05/0.007367, allocations: 107.2 kB / 343.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.144e-05/0.007438, allocations: 47.61 kB / 343.4 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.007439, allocations: 0 / 343.4 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.007513, allocations: 31.95 kB / 343.4 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.007733, allocations: 45.66 kB / 343.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.008215, allocations: 312.3 kB / 343.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.655e-05/0.008241, allocations: 75.16 kB / 343.8 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.993e-05/0.008281, allocations: 16.91 kB / 343.8 MB, free: 5.344 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.008348, allocations: 90.19 kB / 343.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.008348, allocations: 0 / 343.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of Templates: time 0.002921/0.01127, allocations: 1.699 MB / 345.6 MB, free: 3.625 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.4767798520624638]