Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.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.001806/0.001806, allocations: 85.48 kB / 19.44 MB, free: 344 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.002018/0.002018, allocations: 177.2 kB / 22.77 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.01016/0.01016, allocations: 1.032 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_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 333.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.234e-05, allocations: 4.984 kB / 333.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003964/0.003996, allocations: 1.805 MB / 335.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.005282, allocations: 0.561 MB / 335.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.005378, allocations: 4 kB / 335.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.005561, allocations: 15.8 kB / 335.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.005663, allocations: 43.59 kB / 335.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.005968, allocations: 83.88 kB / 335.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.006236, allocations: 171.2 kB / 336.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.006392, allocations: 33.78 kB / 336.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.006537, allocations: 83.8 kB / 336.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.006641, allocations: 43.83 kB / 336.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.006677, allocations: 8 kB / 336.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.995e-05/0.006707, allocations: 12 kB / 336.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.006738, allocations: 19.92 kB / 336.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.006799, allocations: 47.83 kB / 336.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.00701, allocations: 123.6 kB / 336.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.007013, allocations: 0 / 336.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.007014, allocations: 3.938 kB / 336.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.007018, allocations: 0 / 336.4 MB, free: 12.7 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.0006688/0.007687, allocations: 475.6 kB / 336.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.007723, allocations: 8.031 kB / 336.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.007796, allocations: 28.83 kB / 336.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.008022, allocations: 157.7 kB / 337.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.008041, allocations: 4.375 kB / 337.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.008076, allocations: 12.38 kB / 337.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.00836, allocations: 128.6 kB / 337.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.008373, allocations: 192 / 337.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.008391, allocations: 8.375 kB / 337.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.008397, allocations: 7.938 kB / 337.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.008642, allocations: 55.91 kB / 337.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.009428, allocations: 0.5296 MB / 337.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.009628, allocations: 75.05 kB / 337.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.873e-05/0.009727, allocations: 27.8 kB / 337.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.009753, allocations: 11.94 kB / 337.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.009769, allocations: 37.39 kB / 338 MB, free: 11.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.00977, allocations: 0 / 338 MB, free: 11.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004161/0.01019, allocations: 113.6 kB / 338.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.01021, allocations: 51.41 kB / 338.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.01038, allocations: 246.3 kB / 338.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.01039, allocations: 25.7 kB / 338.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.01046, allocations: 168.6 kB / 338.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.01049, allocations: 23.8 kB / 338.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.01055, allocations: 39.36 kB / 338.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.01063, allocations: 0.5001 MB / 339.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.01073, allocations: 31.92 kB / 339.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.01084, allocations: 59.05 kB / 339.2 MB, free: 9.688 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01103, allocations: 86.97 kB / 339.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01104, allocations: 0 / 339.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002985/0.01133, allocations: 133.5 kB / 339.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01135, allocations: 8.062 kB / 339.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01135, allocations: 3.938 kB / 339.4 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01137, allocations: 4 kB / 339.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.01156, allocations: 23.98 kB / 339.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.01156, allocations: 4 kB / 339.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-05/0.01165, allocations: 19.83 kB / 339.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.01166, allocations: 7.984 kB / 339.5 MB, free: 9.383 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 13 * 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.56e-05/0.01174, allocations: 164.6 kB / 339.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.01179, allocations: 11.89 kB / 339.7 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.01182, allocations: 17.47 kB / 339.7 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01183, allocations: 0 / 339.7 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01183, allocations: 4 kB / 339.7 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01183, allocations: 3.938 kB / 339.7 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.01233, allocations: 393 kB / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01233, allocations: 0 / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.01255, allocations: 31.97 kB / 340.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01255, allocations: 0 / 340.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01256, allocations: 3.984 kB / 340.1 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007012/0.01326, allocations: 1.849 MB / 342 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01326, allocations: 0 / 342 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.0135, allocations: 279.4 kB / 342.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.01354, allocations: 11.95 kB / 342.3 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.01356, allocations: 8.094 kB / 342.3 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.01371, allocations: 11.98 kB / 342.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.01377, allocations: 3.938 kB / 342.3 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.01378, allocations: 7.984 kB / 342.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.01388, allocations: 167.2 kB / 342.4 MB, free: 6.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01388, allocations: 0 / 342.4 MB, free: 6.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004609/0.01435, allocations: 27.89 kB / 342.5 MB, free: 6.211 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.0001097/0.01446, allocations: 99.25 kB / 342.6 MB, free: 6.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.01478, allocations: 79.59 kB / 342.6 MB, free: 6.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01478, allocations: 0 / 342.6 MB, free: 6.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.01503, allocations: 55.88 kB / 342.7 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.01563, allocations: 52.11 kB / 342.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/0.01627, allocations: 304.1 kB / 343.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.636e-05/0.01635, allocations: 105.5 kB / 343.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.217e-05/0.01642, allocations: 8.984 kB / 343.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.01648, allocations: 16.5 kB / 343.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01648, allocations: 0 / 343.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of Templates: time 0.006296/0.02278, allocations: 1.587 MB / 344.8 MB, free: 3.914 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD -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_FWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.512499883072451]