Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_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.001339/0.001339, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001573/0.001573, allocations: 218.8 kB / 22.25 MB, free: 5.121 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.98 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.00877/0.00877, allocations: 1.343 MB / 313.8 MB, free: 1.941 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_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.003119/0.003119, allocations: 61.39 kB / 439.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1593, allocations: 53.68 MB / 493.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.006624/0.1659, allocations: 1.996 MB / 495.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1682, allocations: 0.6039 MB / 496.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.1684, allocations: 7.938 kB / 496.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.1686, allocations: 19.78 kB / 496.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1688, allocations: 47.64 kB / 496.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.1693, allocations: 91.83 kB / 496.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.1697, allocations: 179.4 kB / 496.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.17, allocations: 57.59 kB / 496.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1701, allocations: 63.72 kB / 496.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.1703, allocations: 67.58 kB / 496.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.1704, allocations: 12 kB / 496.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.874e-05/0.1704, allocations: 12 kB / 496.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1705, allocations: 31.86 kB / 496.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1707, allocations: 71.59 kB / 496.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.171, allocations: 159.2 kB / 497 MB, free: 3.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.171, allocations: 0 / 497 MB, free: 3.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.171, allocations: 0 / 497 MB, free: 3.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.171, allocations: 0 / 497 MB, free: 3.406 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009835/0.172, allocations: 393.4 kB / 497.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1721, allocations: 12.02 kB / 497.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.76e-05/0.1721, allocations: 20.8 kB / 497.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.1725, allocations: 166.3 kB / 497.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1725, allocations: 8.375 kB / 497.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.1726, allocations: 12.38 kB / 497.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.1728, allocations: 143.5 kB / 497.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1729, allocations: 0 / 497.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1729, allocations: 4 kB / 497.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1729, allocations: 4 kB / 497.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.1731, allocations: 63.95 kB / 497.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009456/0.174, allocations: 0.5073 MB / 498.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.1742, allocations: 78.56 kB / 498.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.1743, allocations: 44.84 kB / 498.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1743, allocations: 3.984 kB / 498.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.1744, allocations: 34.5 kB / 498.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1744, allocations: 0 / 498.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003379/0.1747, allocations: 125.7 kB / 498.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1747, allocations: 55.34 kB / 498.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.175, allocations: 187.2 kB / 498.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.175, allocations: 33.7 kB / 498.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1751, allocations: 124.4 kB / 499 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.1751, allocations: 35.69 kB / 499 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.1752, allocations: 37.7 kB / 499.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1754, allocations: 322.8 kB / 499.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1755, allocations: 35.98 kB / 499.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1756, allocations: 62.55 kB / 499.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1758, allocations: 90.5 kB / 499.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1758, allocations: 4 kB / 499.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003055/0.1761, allocations: 149.4 kB / 499.7 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1761, allocations: 8 kB / 499.7 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1761, allocations: 4.062 kB / 499.7 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1762, allocations: 0 / 499.7 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.1764, allocations: 39.98 kB / 499.8 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1764, allocations: 0 / 499.8 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.1764, allocations: 11.89 kB / 499.8 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1765, allocations: 11.94 kB / 499.8 MB, free: 420 kB / 350.1 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 (18): * Single equations (assignments): 18 * 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.0001382/0.1766, allocations: 130.1 kB / 499.9 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.1766, allocations: 15.84 kB / 499.9 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.1767, allocations: 21.41 kB / 499.9 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1767, allocations: 0 / 499.9 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1767, allocations: 3.938 kB / 499.9 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1767, allocations: 0 / 499.9 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.1773, allocations: 398.4 kB / 0.4886 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1773, allocations: 0 / 0.4886 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.1776, allocations: 31.98 kB / 0.4886 GB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.1776, allocations: 4.031 kB / 0.4886 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1776, allocations: 0 / 0.4886 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.179, allocations: 1.305 MB / 0.4899 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.179, allocations: 0 / 0.4899 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.1794, allocations: 240.3 kB / 0.4901 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1795, allocations: 27.98 kB / 0.4902 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1795, allocations: 11.94 kB / 0.4902 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.1796, allocations: 4 kB / 0.4902 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.1797, allocations: 11.92 kB / 0.4902 GB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1797, allocations: 0 / 0.4902 GB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1799, allocations: 131.2 kB / 0.4903 GB, free: 13.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1799, allocations: 4 kB / 0.4903 GB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.1802, allocations: 24 kB / 0.4903 GB, free: 13.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.0001654/0.1803, allocations: 103.2 kB / 0.4904 GB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.1806, allocations: 86.25 kB / 0.4905 GB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1806, allocations: 0 / 0.4905 GB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.1808, allocations: 51.81 kB / 0.4906 GB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.1813, allocations: 45.25 kB / 0.4906 GB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.1822, allocations: 385.5 kB / 0.491 GB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.1826, allocations: 0.7242 MB / 0.4917 GB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.484e-05/0.1827, allocations: 21 kB / 0.4917 GB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.1828, allocations: 15.44 kB / 0.4917 GB, free: 12.4 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1828, allocations: 4 kB / 0.4917 GB, free: 12.4 MB / 366.1 MB Notification: Performance of Templates: time 0.006198/0.189, allocations: 1.698 MB / 0.4934 GB, free: 10.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.005232596071437] Failed to read output from testmodel.py, exit status != 0: 0.19993889098986983 0.43358073199999997 0.25631497499999994 Calling exit ...