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.001102/0.001102, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001882/0.001882, allocations: 173 kB / 23.49 MB, free: 1.055 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.8 MB, free: 5.602 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.00492/0.00492, allocations: 1.026 MB / 261.3 MB, free: 12.16 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.225e-06/2.225e-06, allocations: 0 / 334.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.583e-05, allocations: 2.312 kB / 334.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002232/0.002268, allocations: 1.836 MB / 336 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008525/0.003121, allocations: 0.561 MB / 336.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.003197, allocations: 8 kB / 336.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.003335, allocations: 23.73 kB / 336.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.003386, allocations: 39.64 kB / 336.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.003634, allocations: 87.88 kB / 336.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.003802, allocations: 179.2 kB / 336.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.003922, allocations: 37.72 kB / 336.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.004012, allocations: 75.8 kB / 337 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.004078, allocations: 43.83 kB / 337 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.004102, allocations: 8 kB / 337 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.004117, allocations: 16 kB / 337 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.00414, allocations: 23.91 kB / 337.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.004177, allocations: 39.86 kB / 337.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.004307, allocations: 91.58 kB / 337.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.00431, allocations: 4 kB / 337.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004311, allocations: 0 / 337.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.004316, allocations: 0 / 337.2 MB, free: 12.64 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.000412/0.004728, allocations: 467.9 kB / 337.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.004764, allocations: 12.02 kB / 337.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.00481, allocations: 28.84 kB / 337.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.004956, allocations: 154.7 kB / 337.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.004968, allocations: 8.375 kB / 337.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.004995, allocations: 16.36 kB / 337.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.005153, allocations: 114.2 kB / 338 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.005161, allocations: 192 / 338 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.005173, allocations: 4.359 kB / 338 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.005181, allocations: 7.938 kB / 338 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.619e-05/0.005237, allocations: 33.94 kB / 338 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.005714, allocations: 0.5062 MB / 338.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.534e-05/0.0058, allocations: 54.98 kB / 338.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.005829, allocations: 23.8 kB / 338.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.005841, allocations: 0 / 338.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.267e-05/0.005854, allocations: 33.39 kB / 338.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.005855, allocations: 4 kB / 338.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001454/0.006, allocations: 69.59 kB / 338.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.00602, allocations: 55.41 kB / 338.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.006109, allocations: 226.3 kB / 339 MB, free: 10.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.006116, allocations: 25.7 kB / 339 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.006161, allocations: 168.6 kB / 339.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.006174, allocations: 27.72 kB / 339.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.006209, allocations: 39.31 kB / 339.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.006265, allocations: 0.4962 MB / 339.7 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/0.006299, allocations: 11.98 kB / 339.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.006335, allocations: 54.44 kB / 339.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.006402, allocations: 86.3 kB / 339.9 MB, free: 9.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006404, allocations: 3.938 kB / 339.9 MB, free: 9.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001008/0.006505, allocations: 101.5 kB / 340 MB, free: 9.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.006516, allocations: 8 kB / 340 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00652, allocations: 0 / 340 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.006531, allocations: 0 / 340 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.006685, allocations: 35.92 kB / 340 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000498/0.007183, allocations: 1.809 MB / 341.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.007228, allocations: 19.88 kB / 341.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.007234, allocations: 4 kB / 341.9 MB, free: 7.598 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 5.841e-05/0.007293, allocations: 156.7 kB / 342 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.007316, allocations: 24.09 kB / 342 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.494e-05/0.007331, allocations: 17.47 kB / 342.1 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-07/0.007332, allocations: 0 / 342.1 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.007334, allocations: 7.984 kB / 342.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.007337, allocations: 3.938 kB / 342.1 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.007551, allocations: 349.1 kB / 342.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.007553, allocations: 0 / 342.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.007658, allocations: 35.91 kB / 342.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.00766, allocations: 0 / 342.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.00767, allocations: 4.031 kB / 342.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004482/0.008118, allocations: 1.809 MB / 344.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.00812, allocations: 0 / 344.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.008247, allocations: 235.5 kB / 344.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.008272, allocations: 19.91 kB / 344.5 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.008283, allocations: 4.156 kB / 344.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.653e-05/0.008329, allocations: 7.984 kB / 344.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.008379, allocations: 7.922 kB / 344.5 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.008384, allocations: 4 kB / 344.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.595e-05/0.00843, allocations: 155.2 kB / 344.7 MB, free: 4.578 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00843, allocations: 3.938 kB / 344.7 MB, free: 4.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.008611, allocations: 27.94 kB / 344.7 MB, free: 4.547 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.528e-05/0.008696, allocations: 95.25 kB / 344.8 MB, free: 4.441 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.008909, allocations: 68 kB / 344.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008911, allocations: 0 / 344.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.636e-05/0.008967, allocations: 39.89 kB / 344.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.009259, allocations: 44.41 kB / 345 MB, free: 4.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.009949, allocations: 324.1 kB / 345.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.009982, allocations: 67.2 kB / 345.3 MB, free: 3.859 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.057e-05/0.01003, allocations: 16.97 kB / 345.4 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.01007, allocations: 16.5 kB / 345.4 MB, free: 3.824 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01007, allocations: 0 / 345.4 MB, free: 3.824 MB / 266.7 MB Notification: Performance of Templates: time 0.003248/0.01332, allocations: 1.623 MB / 347 MB, free: 2.266 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.9566111529711634]