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.0009842/0.0009842, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.002064/0.002064, allocations: 173 kB / 23.36 MB, free: 1.133 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.005004/0.005004, allocations: 1.036 MB / 261.3 MB, free: 12.01 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.774e-06/1.774e-06, allocations: 0 / 281.4 MB, free: 7.879 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.584e-05, allocations: 6.312 kB / 281.4 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003075/0.003101, allocations: 1.824 MB / 283.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.004219, allocations: 0.5765 MB / 283.8 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/0.004302, allocations: 0 / 283.8 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.00447, allocations: 19.8 kB / 283.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.004547, allocations: 39.64 kB / 283.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.004827, allocations: 87.77 kB / 284 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.005067, allocations: 175.3 kB / 284.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.0052, allocations: 46.41 kB / 284.2 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.005334, allocations: 75.81 kB / 284.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.005419, allocations: 43.83 kB / 284.3 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.005449, allocations: 8 kB / 284.3 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.00547, allocations: 12 kB / 284.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.005503, allocations: 27.91 kB / 284.4 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.005552, allocations: 39.84 kB / 284.4 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.00571, allocations: 83.66 kB / 284.5 MB, free: 4.805 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005713, allocations: 0 / 284.5 MB, free: 4.805 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005714, allocations: 0 / 284.5 MB, free: 4.805 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.005718, allocations: 7.938 kB / 284.5 MB, free: 4.797 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.0007579/0.006476, allocations: 348.3 kB / 284.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.006513, allocations: 8.031 kB / 284.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.006557, allocations: 12.92 kB / 284.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.006733, allocations: 146.2 kB / 285 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.006751, allocations: 16.33 kB / 285 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.006781, allocations: 12.38 kB / 285 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.00696, allocations: 107 kB / 285.1 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.006969, allocations: 192 / 285.1 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.006982, allocations: 8.375 kB / 285.1 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.00699, allocations: 7.922 kB / 285.1 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.007044, allocations: 27.92 kB / 285.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.007572, allocations: 328.1 kB / 285.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.479e-05/0.007667, allocations: 38.56 kB / 285.5 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.007694, allocations: 12.86 kB / 285.5 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.007709, allocations: 0 / 285.5 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.00773, allocations: 34.5 kB / 285.6 MB, free: 3.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.00773, allocations: 4 kB / 285.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001182/0.007849, allocations: 61.8 kB / 285.6 MB, free: 3.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.007876, allocations: 51.41 kB / 285.7 MB, free: 3.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.007973, allocations: 174.5 kB / 285.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.007984, allocations: 25.7 kB / 285.9 MB, free: 3.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.008033, allocations: 119.9 kB / 286 MB, free: 3.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.008044, allocations: 11.86 kB / 286 MB, free: 3.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.008081, allocations: 33.69 kB / 286 MB, free: 3.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.008156, allocations: 330.8 kB / 286.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.008174, allocations: 4 kB / 286.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.00821, allocations: 48.2 kB / 286.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.096e-05/0.008271, allocations: 68.2 kB / 286.5 MB, free: 2.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008273, allocations: 0 / 286.5 MB, free: 2.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.012e-05/0.008363, allocations: 81.53 kB / 286.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.008376, allocations: 8 kB / 286.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.008382, allocations: 3.984 kB / 286.6 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.008393, allocations: 128 / 286.6 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.008551, allocations: 43.91 kB / 286.6 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006398/0.00919, allocations: 1.2 MB / 287.8 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.009239, allocations: 15.83 kB / 287.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.009246, allocations: 4.25 kB / 287.8 MB, free: 1.168 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 6.623e-05/0.009312, allocations: 118 kB / 287.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.009331, allocations: 7.984 kB / 288 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.009348, allocations: 13.47 kB / 288 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-07/0.009349, allocations: 4 kB / 288 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.009352, allocations: 11.88 kB / 288 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.009354, allocations: 0 / 288 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.00957, allocations: 235.5 kB / 288.2 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.009571, allocations: 0 / 288.2 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.009677, allocations: 32 kB / 288.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.00968, allocations: 4 kB / 288.2 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.009688, allocations: 3.984 kB / 288.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1137/0.1234, allocations: 1.191 MB / 289.4 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1234, allocations: 3.75 kB / 289.4 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.1235, allocations: 167.8 kB / 289.6 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.1236, allocations: 14.11 kB / 289.6 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1236, allocations: 1.875 kB / 289.6 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1237, allocations: 8.766 kB / 289.6 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.1237, allocations: 6.391 kB / 289.6 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1237, allocations: 3.188 kB / 289.6 MB, free: 25.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.1237, allocations: 40.89 kB / 289.7 MB, free: 25.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1237, allocations: 1.469 kB / 289.7 MB, free: 25.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.1239, allocations: 26.59 kB / 289.7 MB, free: 25.35 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.978e-05/0.124, allocations: 81.92 kB / 289.8 MB, free: 25.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.1242, allocations: 55.7 kB / 289.8 MB, free: 25.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1242, allocations: 8.562 kB / 289.9 MB, free: 25.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.1242, allocations: 31.77 kB / 289.9 MB, free: 25.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1244, allocations: 41.58 kB / 289.9 MB, free: 25.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.1251, allocations: 319.3 kB / 290.2 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.074e-05/0.1251, allocations: 70.44 kB / 290.3 MB, free: 25.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.1251, allocations: 10.38 kB / 290.3 MB, free: 25.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.1252, allocations: 75.17 kB / 290.4 MB, free: 24.96 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1252, allocations: 0 / 290.4 MB, free: 24.96 MB / 266.7 MB Notification: Performance of Templates: time 0.003607/0.1288, allocations: 1.664 MB / 292.1 MB, free: 24.88 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: 2.696555176284164]