Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_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.001785/0.001785, allocations: 85.48 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.001886/0.001886, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.009912/0.009912, allocations: 1.033 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.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 333.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.832e-05, allocations: 6.312 kB / 333.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002505/0.002534, allocations: 1.815 MB / 335.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.003392, allocations: 0.5649 MB / 335.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.003467, allocations: 4 kB / 335.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.003624, allocations: 15.8 kB / 335.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.00369, allocations: 43.58 kB / 335.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.003918, allocations: 87.88 kB / 335.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.004121, allocations: 179.2 kB / 336.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.004262, allocations: 33.78 kB / 336.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.00437, allocations: 75.81 kB / 336.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.004447, allocations: 43.81 kB / 336.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.004475, allocations: 12 kB / 336.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.98e-05/0.004495, allocations: 12 kB / 336.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.00452, allocations: 27.91 kB / 336.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.004561, allocations: 35.86 kB / 336.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.004717, allocations: 139.5 kB / 336.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.00472, allocations: 3.984 kB / 336.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00472, allocations: 0 / 336.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004724, allocations: 3.938 kB / 336.5 MB, free: 12.63 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.0005267/0.005251, allocations: 471.6 kB / 336.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.005282, allocations: 8.031 kB / 336.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.005338, allocations: 28.84 kB / 337 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005501, allocations: 157.7 kB / 337.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.005514, allocations: 8.375 kB / 337.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.005538, allocations: 12.38 kB / 337.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.005731, allocations: 121.5 kB / 337.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.005744, allocations: 192 / 337.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.005757, allocations: 384 / 337.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005763, allocations: 7.938 kB / 337.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.005906, allocations: 59.91 kB / 337.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.006532, allocations: 0.5335 MB / 337.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.006674, allocations: 71.05 kB / 337.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.996e-05/0.006744, allocations: 31.8 kB / 338 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.006765, allocations: 3.938 kB / 338 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.006778, allocations: 37.39 kB / 338 MB, free: 10.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.006779, allocations: 0 / 338 MB, free: 10.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002901/0.007069, allocations: 113.6 kB / 338.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.007105, allocations: 55.39 kB / 338.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.007237, allocations: 242.3 kB / 338.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.007247, allocations: 25.7 kB / 338.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.007304, allocations: 172.6 kB / 338.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.00732, allocations: 23.8 kB / 338.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.007363, allocations: 35.36 kB / 338.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.007438, allocations: 0.5001 MB / 339.2 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.007512, allocations: 27.98 kB / 339.2 MB, free: 9.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/0.007591, allocations: 78.36 kB / 339.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.007736, allocations: 106.3 kB / 339.4 MB, free: 9.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007738, allocations: 0 / 339.4 MB, free: 9.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002019/0.00794, allocations: 133.5 kB / 339.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.007955, allocations: 16.06 kB / 339.5 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.00796, allocations: 0 / 339.5 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.007975, allocations: 0 / 339.5 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.008224, allocations: 39.91 kB / 339.6 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000748/0.008972, allocations: 1.845 MB / 341.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/0.009049, allocations: 20.02 kB / 341.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.009059, allocations: 8 kB / 341.4 MB, free: 7.309 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 12 * 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 prepare postOptimizeDAE: time 7.012e-05/0.009129, allocations: 168.6 kB / 341.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.009159, allocations: 15.84 kB / 341.6 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.009183, allocations: 17.45 kB / 341.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009184, allocations: 0 / 341.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.009185, allocations: 0 / 341.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.009188, allocations: 0 / 341.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.009522, allocations: 401 kB / 342 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009523, allocations: 0 / 342 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.009704, allocations: 23.98 kB / 342 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.009706, allocations: 7.938 kB / 342 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.009715, allocations: 0 / 342 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006233/0.01034, allocations: 1.837 MB / 343.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01034, allocations: 3.938 kB / 343.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.01059, allocations: 279.5 kB / 344.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.01063, allocations: 15.89 kB / 344.2 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.01064, allocations: 8 kB / 344.2 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.01072, allocations: 0 / 344.2 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.01077, allocations: 12.05 kB / 344.2 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.01078, allocations: 8 kB / 344.2 MB, free: 4.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.632e-05/0.01085, allocations: 167.2 kB / 344.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01085, allocations: 4.062 kB / 344.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.0111, allocations: 23.94 kB / 344.4 MB, free: 4.141 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 8.332e-05/0.01118, allocations: 107.2 kB / 344.5 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.01148, allocations: 95.84 kB / 344.6 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01148, allocations: 0 / 344.6 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.01162, allocations: 48.2 kB / 344.6 MB, free: 3.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.012, allocations: 54.42 kB / 344.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.0125, allocations: 315.5 kB / 345 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.762e-05/0.01256, allocations: 93.61 kB / 345.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.01261, allocations: 20.84 kB / 345.1 MB, free: 3.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.01265, allocations: 20.5 kB / 345.1 MB, free: 3.336 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01266, allocations: 0 / 345.1 MB, free: 3.336 MB / 266.7 MB Notification: Performance of Templates: time 0.004519/0.01717, allocations: 1.615 MB / 346.7 MB, free: 1.781 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD -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_BWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.57014442095533]