Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.001315/0.001315, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001417/0.001417, allocations: 160.6 kB / 23.01 MB, free: 4.602 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 9.004 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.007952/0.007952, allocations: 1.037 MB / 260.8 MB, free: 15.78 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.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") [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.002132/0.002132, allocations: 63.84 kB / 386.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09736, allocations: 53.63 MB / 440.5 MB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003017/0.1004, allocations: 1.658 MB / 442.1 MB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1014, allocations: 0.5417 MB / 442.7 MB, free: 9.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.1015, allocations: 0 / 442.7 MB, free: 9.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.1016, allocations: 23.8 kB / 442.7 MB, free: 9.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.1017, allocations: 31.72 kB / 442.7 MB, free: 9.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1019, allocations: 79.84 kB / 442.8 MB, free: 9.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1021, allocations: 127.5 kB / 442.9 MB, free: 9.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1023, allocations: 37.22 kB / 443 MB, free: 9.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.1023, allocations: 43.8 kB / 443 MB, free: 9.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.1024, allocations: 43.72 kB / 443.1 MB, free: 9.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.1024, allocations: 8 kB / 443.1 MB, free: 9.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.1025, allocations: 8 kB / 443.1 MB, free: 9.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.1025, allocations: 19.92 kB / 443.1 MB, free: 9.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.1026, allocations: 55.66 kB / 443.1 MB, free: 9.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1027, allocations: 107.5 kB / 443.2 MB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1027, allocations: 0 / 443.2 MB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1027, allocations: 4 kB / 443.3 MB, free: 9.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1027, allocations: 0 / 443.3 MB, free: 9.016 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005342/0.1033, allocations: 356.4 kB / 443.6 MB, free: 8.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1033, allocations: 11.97 kB / 443.6 MB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.1033, allocations: 12.89 kB / 443.6 MB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1035, allocations: 142.4 kB / 443.8 MB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1036, allocations: 4.375 kB / 443.8 MB, free: 8.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1036, allocations: 12.38 kB / 443.8 MB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1038, allocations: 108.5 kB / 443.9 MB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1038, allocations: 0 / 443.9 MB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1038, allocations: 11.94 kB / 443.9 MB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1038, allocations: 4 kB / 443.9 MB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.1039, allocations: 31.97 kB / 443.9 MB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.1046, allocations: 480.5 kB / 444.4 MB, free: 7.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1047, allocations: 46.56 kB / 444.4 MB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.1047, allocations: 24.92 kB / 444.5 MB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1047, allocations: 0 / 444.5 MB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.1048, allocations: 34.56 kB / 444.5 MB, free: 7.637 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1048, allocations: 0 / 444.5 MB, free: 7.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001944/0.105, allocations: 77.47 kB / 444.6 MB, free: 7.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.105, allocations: 51.41 kB / 444.6 MB, free: 7.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1051, allocations: 158.3 kB / 444.8 MB, free: 7.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1052, allocations: 25.7 kB / 444.8 MB, free: 7.297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.1053, allocations: 124.3 kB / 444.9 MB, free: 7.168 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1053, allocations: 15.89 kB / 444.9 MB, free: 7.152 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1053, allocations: 25.72 kB / 445 MB, free: 7.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1055, allocations: 322.8 kB / 445.3 MB, free: 6.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.1055, allocations: 15.98 kB / 445.3 MB, free: 6.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.1056, allocations: 51.44 kB / 445.4 MB, free: 6.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.1057, allocations: 67.34 kB / 445.4 MB, free: 6.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1057, allocations: 0 / 445.4 MB, free: 6.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001554/0.1058, allocations: 101.5 kB / 445.5 MB, free: 6.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1058, allocations: 4 kB / 445.5 MB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1058, allocations: 3.938 kB / 445.5 MB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1058, allocations: 8.031 kB / 445.5 MB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.106, allocations: 23.98 kB / 445.6 MB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.106, allocations: 7.938 kB / 445.6 MB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.106, allocations: 11.89 kB / 445.6 MB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.106, allocations: 4 kB / 445.6 MB, free: 6.473 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * Single equations (assignments): 11 * 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 0.0001005/0.1061, allocations: 125.8 kB / 445.7 MB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1062, allocations: 7.953 kB / 445.7 MB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.1062, allocations: 12.33 kB / 445.7 MB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1062, allocations: 3.938 kB / 445.7 MB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1062, allocations: 4 kB / 445.7 MB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1062, allocations: 4 kB / 445.7 MB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.1065, allocations: 283 kB / 446 MB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1065, allocations: 0 / 446 MB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.1067, allocations: 19.98 kB / 446 MB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.1067, allocations: 3.938 kB / 446 MB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1068, allocations: 4 kB / 446 MB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.1078, allocations: 1.274 MB / 447.3 MB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1078, allocations: 3.984 kB / 447.3 MB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.108, allocations: 180.3 kB / 447.5 MB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.1081, allocations: 11.98 kB / 447.5 MB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1081, allocations: 11.98 kB / 447.5 MB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.1082, allocations: 0 / 447.5 MB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.1082, allocations: 0 / 447.5 MB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1082, allocations: 4 kB / 447.5 MB, free: 4.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1083, allocations: 120.1 kB / 447.6 MB, free: 4.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1083, allocations: 8.094 kB / 447.6 MB, free: 4.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1085, allocations: 27.88 kB / 447.7 MB, free: 4.203 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 (4): * Single equations (assignments): 3 * 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.0001086/0.1087, allocations: 99.25 kB / 447.8 MB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1088, allocations: 43.88 kB / 447.8 MB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1088, allocations: 0 / 447.8 MB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.1089, allocations: 23.98 kB / 447.8 MB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.1094, allocations: 45.14 kB / 447.9 MB, free: 4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.1099, allocations: 303.9 kB / 448.2 MB, free: 3.672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.572e-05/0.11, allocations: 93.31 kB / 448.3 MB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.036e-05/0.1101, allocations: 12.42 kB / 448.3 MB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.1101, allocations: 16.5 kB / 448.3 MB, free: 3.535 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1101, allocations: 0 / 448.3 MB, free: 3.535 MB / 414.1 MB Notification: Performance of Templates: time 0.004104/0.1142, allocations: 1.24 MB / 449.5 MB, free: 2.34 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.225268206908368] Failed to read output from testmodel.py, exit status != 0: 0.12299144396092743 0.13667742299999994 0.030986126000000003 Calling exit ...