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.001231/0.001231, allocations: 93.06 kB / 19.65 MB, free: 280 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.001566/0.001566, allocations: 169 kB / 23.02 MB, free: 1.551 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.069/1.069, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.004728/0.004728, allocations: 1.033 MB / 261 MB, free: 12.13 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 2.064e-06/2.064e-06, allocations: 0 / 334.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.275e-05, allocations: 2.312 kB / 334.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003021/0.003054, allocations: 1.854 MB / 336 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009966/0.00405, allocations: 0.565 MB / 336.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.004139, allocations: 3.938 kB / 336.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.004318, allocations: 23.73 kB / 336.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.004388, allocations: 31.72 kB / 336.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.004673, allocations: 87.88 kB / 336.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.004903, allocations: 187.2 kB / 336.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.00505, allocations: 29.73 kB / 337 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.005187, allocations: 79.8 kB / 337 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.005291, allocations: 47.81 kB / 337.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.00533, allocations: 12 kB / 337.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.005352, allocations: 8 kB / 337.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.00539, allocations: 27.86 kB / 337.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.005445, allocations: 39.91 kB / 337.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.005666, allocations: 91.59 kB / 337.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.00567, allocations: 0 / 337.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.005671, allocations: 0 / 337.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.005684, allocations: 0 / 337.3 MB, free: 12.26 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.000639/0.006323, allocations: 475.9 kB / 337.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.006373, allocations: 8.031 kB / 337.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.006458, allocations: 24.78 kB / 337.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.006682, allocations: 153.8 kB / 337.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.006701, allocations: 8.375 kB / 337.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.006738, allocations: 12.38 kB / 337.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.006984, allocations: 114.2 kB / 338 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.006995, allocations: 192 / 338 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.007013, allocations: 8.359 kB / 338 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.007028, allocations: 7.938 kB / 338.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.007103, allocations: 23.98 kB / 338.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.007785, allocations: 0.5061 MB / 338.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.007911, allocations: 58.98 kB / 338.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/0.007951, allocations: 23.8 kB / 338.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.007966, allocations: 0 / 338.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.007995, allocations: 37.39 kB / 338.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.007997, allocations: 4 kB / 338.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002478/0.008245, allocations: 77.53 kB / 338.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.008269, allocations: 51.41 kB / 338.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.008389, allocations: 222.3 kB / 339 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.008401, allocations: 29.7 kB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.008459, allocations: 164.6 kB / 339.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.008477, allocations: 27.78 kB / 339.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.008523, allocations: 35.33 kB / 339.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.008593, allocations: 0.4923 MB / 339.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.008636, allocations: 19.92 kB / 339.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.00869, allocations: 58.42 kB / 339.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.008782, allocations: 74.38 kB / 339.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.008786, allocations: 0 / 339.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001526/0.008938, allocations: 105.4 kB / 340 MB, free: 9.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.008954, allocations: 8 kB / 340.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.00896, allocations: 0 / 340.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.008976, allocations: 128 / 340.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.009194, allocations: 35.98 kB / 340.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007206/0.009914, allocations: 1.817 MB / 341.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.009978, allocations: 15.89 kB / 341.9 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.009987, allocations: 4 kB / 341.9 MB, free: 7.219 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.778e-05/0.01005, allocations: 164.6 kB / 342.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.01009, allocations: 19.84 kB / 342.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.01011, allocations: 17.45 kB / 342.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.01011, allocations: 0 / 342.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.01011, allocations: 0 / 342.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01011, allocations: 0 / 342.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.01041, allocations: 357.3 kB / 342.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01042, allocations: 4 kB / 342.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.01058, allocations: 32.02 kB / 342.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01059, allocations: 0 / 342.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.0106, allocations: 4 kB / 342.5 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006068/0.01121, allocations: 1.805 MB / 344.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01121, allocations: 0 / 344.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.01137, allocations: 239.6 kB / 344.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.0114, allocations: 19.91 kB / 344.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.01142, allocations: 3.984 kB / 344.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.0115, allocations: 7.938 kB / 344.6 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.01155, allocations: 11.92 kB / 344.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.01155, allocations: 4 kB / 344.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.529e-05/0.01161, allocations: 155.2 kB / 344.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01161, allocations: 0 / 344.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000268/0.01188, allocations: 27.94 kB / 344.8 MB, free: 4.168 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 0.0001027/0.01198, allocations: 103.3 kB / 344.9 MB, free: 4.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.0122, allocations: 55.88 kB / 344.9 MB, free: 3.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01221, allocations: 3.938 kB / 344.9 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.01227, allocations: 43.88 kB / 345 MB, free: 3.941 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.01265, allocations: 40.59 kB / 345 MB, free: 3.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.01373, allocations: 326.4 kB / 345.3 MB, free: 3.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.612e-05/0.01377, allocations: 75.19 kB / 345.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.01383, allocations: 4.984 kB / 345.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.01388, allocations: 16.5 kB / 345.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of SimCode: time 1.233e-06/0.01388, allocations: 0 / 345.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of Templates: time 0.004657/0.01854, allocations: 1.701 MB / 347.1 MB, free: 1.809 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.866417104844004]