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.001613/0.001613, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.002008/0.002008, allocations: 173 kB / 23.36 MB, free: 0.9727 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.123/1.123, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.006769/0.006769, allocations: 1.035 MB / 261.3 MB, free: 12 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 4.619e-06/4.619e-06, allocations: 0 / 281.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.923e-05/4.385e-05, allocations: 6.109 kB / 281.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.00433/0.004374, allocations: 1.872 MB / 283.3 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.005426, allocations: 0.5765 MB / 283.9 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.0055, allocations: 0 / 283.9 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.005672, allocations: 27.73 kB / 283.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.005734, allocations: 39.66 kB / 284 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.005997, allocations: 95.8 kB / 284.1 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.006193, allocations: 175.3 kB / 284.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.006319, allocations: 34.42 kB / 284.3 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.006433, allocations: 75.81 kB / 284.4 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.006509, allocations: 43.81 kB / 284.4 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.006533, allocations: 12 kB / 284.4 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.529e-05/0.006548, allocations: 8 kB / 284.4 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.006578, allocations: 27.91 kB / 284.4 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.006616, allocations: 43.86 kB / 284.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.006761, allocations: 95.58 kB / 284.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006764, allocations: 0 / 284.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006765, allocations: 0 / 284.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.00677, allocations: 0 / 284.6 MB, free: 4.68 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.0004343/0.007204, allocations: 336.3 kB / 284.9 MB, free: 4.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.007244, allocations: 8.031 kB / 284.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.007285, allocations: 16.92 kB / 284.9 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.007448, allocations: 150.2 kB / 285.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.007462, allocations: 16.33 kB / 285.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.007486, allocations: 8.375 kB / 285.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.007638, allocations: 107.4 kB / 285.2 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.007646, allocations: 192 / 285.2 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.007655, allocations: 4.375 kB / 285.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.007661, allocations: 3.938 kB / 285.2 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.521e-05/0.007716, allocations: 23.92 kB / 285.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.008134, allocations: 340.1 kB / 285.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.779e-05/0.008212, allocations: 34.52 kB / 285.6 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.008234, allocations: 16.84 kB / 285.6 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.008247, allocations: 128 / 285.6 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.008271, allocations: 38.56 kB / 285.7 MB, free: 3.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.008271, allocations: 0 / 285.7 MB, free: 3.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001242/0.008396, allocations: 49.69 kB / 285.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.008428, allocations: 55.41 kB / 285.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.008538, allocations: 174.5 kB / 285.9 MB, free: 3.191 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.00855, allocations: 25.7 kB / 286 MB, free: 3.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.008603, allocations: 119.9 kB / 286.1 MB, free: 3.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.008618, allocations: 19.84 kB / 286.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.008658, allocations: 33.64 kB / 286.1 MB, free: 2.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.008743, allocations: 326.8 kB / 286.4 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.008763, allocations: 8 kB / 286.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.008799, allocations: 44.27 kB / 286.5 MB, free: 2.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.014e-05/0.008859, allocations: 60.2 kB / 286.6 MB, free: 2.512 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008861, allocations: 4 kB / 286.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.849e-05/0.00895, allocations: 77.55 kB / 286.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.008965, allocations: 8 kB / 286.6 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.00897, allocations: 0 / 286.6 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.008982, allocations: 4 kB / 286.6 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.009145, allocations: 40.16 kB / 286.7 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006634/0.009808, allocations: 1.219 MB / 287.9 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.009853, allocations: 15.89 kB / 287.9 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.009858, allocations: 0 / 287.9 MB, free: 1.059 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.454e-05/0.009923, allocations: 113.8 kB / 288 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.009941, allocations: 11.94 kB / 288 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.009959, allocations: 21.58 kB / 288.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.00996, allocations: 0 / 288.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.009962, allocations: 3.938 kB / 288.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.009965, allocations: 4 kB / 288.1 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.01017, allocations: 227.5 kB / 288.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01017, allocations: 4 kB / 288.3 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.0103, allocations: 31.97 kB / 288.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.0103, allocations: 0 / 288.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01031, allocations: 11.88 kB / 288.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1383/0.1486, allocations: 1.194 MB / 289.5 MB, free: 25.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1486, allocations: 0 / 289.5 MB, free: 25.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.1487, allocations: 168.4 kB / 289.7 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.1488, allocations: 17.58 kB / 289.7 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1488, allocations: 2.266 kB / 289.7 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.1489, allocations: 6.375 kB / 289.7 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.149, allocations: 6.266 kB / 289.7 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.149, allocations: 3.594 kB / 289.7 MB, free: 25.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.388e-05/0.149, allocations: 39.81 kB / 289.8 MB, free: 25.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.149, allocations: 0.9375 kB / 289.8 MB, free: 25.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.1493, allocations: 28.17 kB / 289.8 MB, free: 25.16 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.0001061/0.1494, allocations: 82.42 kB / 289.9 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1496, allocations: 58.19 kB / 289.9 MB, free: 25.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.1496, allocations: 5.219 kB / 289.9 MB, free: 25.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.894e-05/0.1497, allocations: 37.05 kB / 290 MB, free: 25.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.15, allocations: 47.28 kB / 290 MB, free: 25.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007657/0.1508, allocations: 306.4 kB / 290.3 MB, free: 24.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.1508, allocations: 72 kB / 290.4 MB, free: 24.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.334e-05/0.1509, allocations: 12.17 kB / 290.4 MB, free: 24.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.151, allocations: 73.78 kB / 290.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.151, allocations: 2.156 kB / 290.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of Templates: time 0.004729/0.1557, allocations: 1.721 MB / 292.2 MB, free: 24.69 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 -s gbode -gbm=radauIIA3 -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.858600400853902]