Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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.001907/0.001907, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001812/0.001812, allocations: 158.6 kB / 23.01 MB, free: 4.949 MB / 14.72 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.475/1.475, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 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.007983/0.007983, allocations: 1.042 MB / 260.8 MB, free: 15.71 MB / 254.1 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.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") [Timeout 660] "Notification: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 59.91 kB / 386.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.0894, allocations: 53.66 MB / 440.5 MB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.002945/0.09234, allocations: 1.619 MB / 442.1 MB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009926/0.09334, allocations: 0.5339 MB / 442.7 MB, free: 9.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.577e-05/0.09339, allocations: 0 / 442.7 MB, free: 9.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.09351, allocations: 15.8 kB / 442.7 MB, free: 9.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.05e-05/0.09357, allocations: 27.78 kB / 442.7 MB, free: 9.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.09379, allocations: 75.91 kB / 442.8 MB, free: 9.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.09399, allocations: 119.5 kB / 442.9 MB, free: 9.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.0941, allocations: 29.52 kB / 442.9 MB, free: 9.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.09415, allocations: 43.8 kB / 443 MB, free: 9.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.09422, allocations: 31.78 kB / 443 MB, free: 9.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.09424, allocations: 8 kB / 443 MB, free: 9.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.09426, allocations: 8 kB / 443 MB, free: 9.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.09428, allocations: 15.88 kB / 443 MB, free: 9.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.09438, allocations: 35.8 kB / 443.1 MB, free: 9.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.09452, allocations: 95.5 kB / 443.1 MB, free: 9.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.09452, allocations: 0 / 443.1 MB, free: 9.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09452, allocations: 0 / 443.1 MB, free: 9.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.09453, allocations: 0 / 443.1 MB, free: 9.07 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004554/0.09499, allocations: 337.8 kB / 443.5 MB, free: 8.711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.09502, allocations: 12.03 kB / 443.5 MB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.09505, allocations: 12.84 kB / 443.5 MB, free: 8.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.09525, allocations: 139 kB / 443.6 MB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.09526, allocations: 8.375 kB / 443.6 MB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.09528, allocations: 12.12 kB / 443.7 MB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.09547, allocations: 96.12 kB / 443.8 MB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.09547, allocations: 0 / 443.8 MB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.09549, allocations: 7.984 kB / 443.8 MB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.09549, allocations: 3.984 kB / 443.8 MB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.593e-05/0.09556, allocations: 31.94 kB / 443.8 MB, free: 8.355 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.09613, allocations: 452.6 kB / 444.2 MB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.672e-05/0.09621, allocations: 30.58 kB / 444.3 MB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.09624, allocations: 16.94 kB / 444.3 MB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.09625, allocations: 0 / 444.3 MB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.09628, allocations: 34.56 kB / 444.3 MB, free: 7.773 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.09628, allocations: 0 / 444.3 MB, free: 7.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001559/0.09643, allocations: 69.47 kB / 444.4 MB, free: 7.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.09647, allocations: 51.41 kB / 444.4 MB, free: 7.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.09662, allocations: 158.2 kB / 444.6 MB, free: 7.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.09664, allocations: 33.7 kB / 444.6 MB, free: 7.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.09672, allocations: 115.9 kB / 444.7 MB, free: 7.316 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.09675, allocations: 19.89 kB / 444.8 MB, free: 7.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.09679, allocations: 25.72 kB / 444.8 MB, free: 7.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.09693, allocations: 318.8 kB / 445.1 MB, free: 6.945 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.09696, allocations: 16 kB / 445.1 MB, free: 6.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-05/0.09705, allocations: 71.66 kB / 445.2 MB, free: 6.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.09717, allocations: 95.59 kB / 445.3 MB, free: 6.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.09717, allocations: 4 kB / 445.3 MB, free: 6.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001718/0.09734, allocations: 109.7 kB / 445.4 MB, free: 6.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.09736, allocations: 14.22 kB / 445.4 MB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.09737, allocations: 7.875 kB / 445.4 MB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.09738, allocations: 4 kB / 445.4 MB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.09748, allocations: 23.94 kB / 445.4 MB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.09749, allocations: 7.984 kB / 445.4 MB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.09755, allocations: 11.89 kB / 445.5 MB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.09755, allocations: 4 kB / 445.5 MB, free: 6.523 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (12): * Single equations (assignments): 12 * 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 9.63e-05/0.09765, allocations: 125.8 kB / 445.6 MB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.09768, allocations: 7.953 kB / 445.6 MB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.09771, allocations: 16.28 kB / 445.6 MB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.09771, allocations: 0 / 445.6 MB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.09771, allocations: 4 kB / 445.6 MB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.09771, allocations: 3.984 kB / 445.6 MB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.09802, allocations: 263 kB / 445.9 MB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.09802, allocations: 3.938 kB / 445.9 MB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.09809, allocations: 8 kB / 445.9 MB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.09809, allocations: 0 / 445.9 MB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.0981, allocations: 0 / 445.9 MB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.09811, allocations: 7.984 kB / 445.9 MB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.09811, allocations: 8.047 kB / 445.9 MB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.09828, allocations: 168.5 kB / 446.1 MB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.09832, allocations: 15.86 kB / 446.1 MB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.09834, allocations: 4 kB / 446.1 MB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/0.0984, allocations: 4 kB / 446.1 MB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.09841, allocations: 3.984 kB / 446.1 MB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.09842, allocations: 0 / 446.1 MB, free: 5.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.468e-05/0.09851, allocations: 120.1 kB / 446.2 MB, free: 5.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09851, allocations: 4 kB / 446.2 MB, free: 5.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.09877, allocations: 15.95 kB / 446.2 MB, free: 5.684 MB / 414.1 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 (3): * Single equations (assignments): 3 * 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 9.174e-05/0.09886, allocations: 103.2 kB / 446.3 MB, free: 5.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.09897, allocations: 47.98 kB / 446.4 MB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.09898, allocations: 0 / 446.4 MB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.74e-05/0.09899, allocations: 8 kB / 446.4 MB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.09938, allocations: 35.56 kB / 446.4 MB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.09988, allocations: 292 kB / 446.7 MB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.09997, allocations: 84.31 kB / 446.8 MB, free: 5.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.345e-05/0.1, allocations: 12.44 kB / 446.8 MB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.1, allocations: 12.5 kB / 446.8 MB, free: 5.047 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1, allocations: 0 / 446.8 MB, free: 5.047 MB / 414.1 MB Notification: Performance of Templates: time 0.003807/0.1038, allocations: 1.107 MB / 447.9 MB, free: 3.996 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.157849814975634] Failed to read output from testmodel.py, exit status != 0: 0.11212137900292873 0.126441347 0.028860280000000002 Calling exit ...