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.001796/0.001796, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001987/0.001987, allocations: 214.2 kB / 22.99 MB, free: 4.945 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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.008692/0.008692, allocations: 1.346 MB / 314.5 MB, free: 1.645 MB / 238.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.002034/0.002034, allocations: 63.91 kB / 440.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09693, allocations: 53.68 MB / 494.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003197/0.1001, allocations: 1.646 MB / 495.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1013, allocations: 0.5417 MB / 496.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.1014, allocations: 4 kB / 496.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.1015, allocations: 15.8 kB / 496.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.1016, allocations: 31.72 kB / 496.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1019, allocations: 83.88 kB / 496.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1021, allocations: 127.5 kB / 496.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1022, allocations: 33.23 kB / 496.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.1023, allocations: 51.72 kB / 496.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.1024, allocations: 35.78 kB / 496.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1024, allocations: 8 kB / 496.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.1024, allocations: 8 kB / 496.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.1024, allocations: 27.86 kB / 496.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.1025, allocations: 39.8 kB / 496.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1027, allocations: 115.4 kB / 497 MB, free: 3.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1027, allocations: 0 / 497 MB, free: 3.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1027, allocations: 0 / 497 MB, free: 3.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.1027, allocations: 0 / 497 MB, free: 3.855 MB / 350.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.0005449/0.1032, allocations: 349.8 kB / 497.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1033, allocations: 12.03 kB / 497.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.1033, allocations: 12.84 kB / 497.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1035, allocations: 158.2 kB / 497.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1036, allocations: 8.375 kB / 497.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1036, allocations: 8.359 kB / 497.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1038, allocations: 104.5 kB / 497.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1038, allocations: 3.938 kB / 497.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.1038, allocations: 8 kB / 497.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1038, allocations: 0 / 497.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.949e-05/0.1039, allocations: 35.98 kB / 497.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/0.1046, allocations: 476.5 kB / 498.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.1047, allocations: 46.52 kB / 498.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.1048, allocations: 20.92 kB / 498.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.1048, allocations: 0 / 498.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1048, allocations: 38.5 kB / 498.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1048, allocations: 0 / 498.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002517/0.1051, allocations: 81.47 kB / 498.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1051, allocations: 55.41 kB / 498.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1053, allocations: 154.2 kB / 498.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1053, allocations: 29.7 kB / 498.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1054, allocations: 128.3 kB / 498.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.1054, allocations: 11.84 kB / 498.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.1055, allocations: 29.72 kB / 498.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.1057, allocations: 318.8 kB / 499.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.1058, allocations: 19.98 kB / 499.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.954e-05/0.1058, allocations: 43.42 kB / 499.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1059, allocations: 67.36 kB / 499.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1059, allocations: 0 / 499.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001621/0.1061, allocations: 97.58 kB / 499.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1061, allocations: 8 kB / 499.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1061, allocations: 0 / 499.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1061, allocations: 3.938 kB / 499.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1063, allocations: 27.92 kB / 499.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1063, allocations: 4.094 kB / 499.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.1063, allocations: 7.953 kB / 499.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1063, allocations: 4 kB / 499.3 MB, free: 1.316 MB / 350.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.0001046/0.1064, allocations: 121.8 kB / 499.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.1065, allocations: 11.94 kB / 499.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.1065, allocations: 12.34 kB / 499.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1065, allocations: 3.938 kB / 499.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1065, allocations: 0 / 499.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1065, allocations: 3.938 kB / 499.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.1069, allocations: 279.1 kB / 499.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1069, allocations: 4.031 kB / 499.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.1071, allocations: 31.92 kB / 499.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.1071, allocations: 12.16 kB / 499.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1071, allocations: 0 / 499.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.1083, allocations: 1.274 MB / 0.4893 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.1083, allocations: 11.91 kB / 0.4893 GB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.1085, allocations: 176.3 kB / 0.4895 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.1085, allocations: 15.92 kB / 0.4895 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.1085, allocations: 0 / 0.4895 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1086, allocations: 0 / 0.4895 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.1086, allocations: 8 kB / 0.4895 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1086, allocations: 0 / 0.4895 GB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1087, allocations: 120.1 kB / 0.4896 GB, free: 15.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1087, allocations: 3.938 kB / 0.4896 GB, free: 15.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.109, allocations: 19.94 kB / 0.4897 GB, free: 15.05 MB / 366.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.0001092/0.1091, allocations: 104.9 kB / 0.4898 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.1092, allocations: 47.98 kB / 0.4898 GB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1092, allocations: 0 / 0.4898 GB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.1094, allocations: 31.97 kB / 0.4898 GB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.1099, allocations: 34.52 kB / 0.4899 GB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.1105, allocations: 333.9 kB / 0.4902 GB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.1106, allocations: 97.05 kB / 0.4903 GB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.1107, allocations: 11.44 kB / 0.4903 GB, free: 14.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1107, allocations: 0 / 0.4903 GB, free: 14.35 MB / 366.1 MB Notification: Performance of Templates: time 0.003593/0.1143, allocations: 1.605 MB / 0.4919 GB, free: 12.75 MB / 366.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 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2602522959932685] Failed to read output from testmodel.py, exit status != 0: 0.12230985099449754 0.29782242800000003 0.032666427000000005 Calling exit ...