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.001069/0.001069, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001131/0.001131, allocations: 169 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.9096/0.9096, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.004736/0.004736, allocations: 1.036 MB / 261.3 MB, free: 11.97 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 8.92e-07/8.92e-07, allocations: 0 / 334.7 MB, free: 116 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.908e-05, allocations: 8.781 kB / 334.7 MB, free: 108 kB / 298.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD): time 0.002297/0.002316, allocations: 1.912 MB / 336.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006845/0.003, allocations: 0.5649 MB / 337.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.003056, allocations: 4 kB / 337.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.66e-05/0.003143, allocations: 19.73 kB / 337.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.003188, allocations: 31.72 kB / 337.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.003346, allocations: 95.81 kB / 337.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.003505, allocations: 195.3 kB / 337.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.00359, allocations: 45.5 kB / 337.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/0.003661, allocations: 79.8 kB / 337.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.003719, allocations: 47.81 kB / 337.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.003736, allocations: 8 kB / 337.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.003749, allocations: 12 kB / 337.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.00377, allocations: 27.91 kB / 337.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.003801, allocations: 39.86 kB / 337.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.003923, allocations: 91.58 kB / 337.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-06/0.003924, allocations: 0 / 337.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003925, allocations: 0 / 337.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.324e-06/0.003927, allocations: 0 / 337.8 MB, free: 12.92 MB / 314.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.0003322/0.004259, allocations: 488.1 kB / 338.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.004292, allocations: 8.031 kB / 338.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.004323, allocations: 32.8 kB / 338.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.004432, allocations: 158 kB / 338.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.004441, allocations: 8.609 kB / 338.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.004457, allocations: 12.38 kB / 338.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.004834, allocations: 123.8 kB / 338.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.00484, allocations: 4.125 kB / 338.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.004848, allocations: 8.375 kB / 338.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.004852, allocations: 3.938 kB / 338.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.004892, allocations: 31.97 kB / 338.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.005291, allocations: 0.5333 MB / 339.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.00539, allocations: 66.97 kB / 339.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.005415, allocations: 19.72 kB / 339.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.005428, allocations: 4 kB / 339.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.005445, allocations: 37.45 kB / 339.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.005446, allocations: 0 / 339.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001069/0.005553, allocations: 89.45 kB / 339.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.005573, allocations: 55.41 kB / 339.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.005664, allocations: 225.7 kB / 339.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005676, allocations: 29.7 kB / 339.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.005735, allocations: 179.1 kB / 339.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.005751, allocations: 31.72 kB / 339.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.005789, allocations: 43.31 kB / 340 MB, free: 10.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.005895, allocations: 0.4923 MB / 340.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.005922, allocations: 23.67 kB / 340.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-05/0.005966, allocations: 76.03 kB / 340.6 MB, free: 9.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.347e-05/0.00604, allocations: 109.3 kB / 340.7 MB, free: 9.805 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006041, allocations: 0 / 340.7 MB, free: 9.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001023/0.006143, allocations: 113.5 kB / 340.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.006152, allocations: 8 kB / 340.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.006155, allocations: 0 / 340.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.006164, allocations: 12.09 kB / 340.8 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.006277, allocations: 27.98 kB / 340.8 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.006282, allocations: 3.938 kB / 340.8 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.006324, allocations: 19.89 kB / 340.9 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.00633, allocations: 7.984 kB / 340.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.93e-05/0.00639, allocations: 134.9 kB / 341 MB, free: 9.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.455e-05/0.006434, allocations: 78.08 kB / 341.1 MB, free: 9.371 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.598e-05/0.0065, allocations: 90.05 kB / 341.2 MB, free: 9.258 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.006501, allocations: 0 / 341.2 MB, free: 9.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization_lambda0): time 0.0001027/0.006604, allocations: 113.5 kB / 341.3 MB, free: 9.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/0.006611, allocations: 14.44 kB / 341.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-06/0.006612, allocations: 0 / 341.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-06/0.006615, allocations: 4 kB / 341.3 MB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.006671, allocations: 35.86 kB / 341.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006674, allocations: 8.141 kB / 341.3 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.006703, allocations: 19.89 kB / 341.3 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.006707, allocations: 4 kB / 341.4 MB, free: 9.059 MB / 314.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.654e-05/0.006784, allocations: 272 kB / 341.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.006802, allocations: 11.95 kB / 341.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.006827, allocations: 17.47 kB / 341.6 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006829, allocations: 3.938 kB / 341.7 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.00683, allocations: 0 / 341.7 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006833, allocations: 3.984 kB / 341.7 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.007046, allocations: 333.6 kB / 342 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.007046, allocations: 4.031 kB / 342 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.007099, allocations: 16 kB / 342 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.0071, allocations: 0 / 342 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.00711, allocations: 11.94 kB / 342 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007112, allocations: 3.984 kB / 342 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007113, allocations: 0 / 342 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.007243, allocations: 235.5 kB / 342.2 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.007269, allocations: 23.88 kB / 342.3 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.007279, allocations: 3.938 kB / 342.3 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.007319, allocations: 8 kB / 342.3 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.007339, allocations: 12.02 kB / 342.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.007342, allocations: 0 / 342.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.007396, allocations: 156.2 kB / 342.4 MB, free: 7.898 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007396, allocations: 0 / 342.4 MB, free: 7.898 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.007602, allocations: 55.84 kB / 342.5 MB, free: 7.844 MB / 314.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 6.006e-05/0.007662, allocations: 107.2 kB / 342.6 MB, free: 7.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.007774, allocations: 107.1 kB / 342.7 MB, free: 7.621 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.007775, allocations: 128 / 342.7 MB, free: 7.621 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.007801, allocations: 36.08 kB / 342.7 MB, free: 7.582 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.008008, allocations: 36.77 kB / 342.8 MB, free: 7.547 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.008531, allocations: 326.8 kB / 343.1 MB, free: 7.195 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.817e-05/0.00857, allocations: 75.92 kB / 343.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.21e-05/0.008612, allocations: 12.64 kB / 343.2 MB, free: 7.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.008677, allocations: 90.19 kB / 343.3 MB, free: 7 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008677, allocations: 0 / 343.3 MB, free: 7 MB / 314.7 MB Notification: Performance of Templates: time 0.002699/0.01138, allocations: 1.51 MB / 344.8 MB, free: 5.551 MB / 314.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: 2.6351127717643976]