Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_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.001434/0.001434, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001778/0.001778, allocations: 215.8 kB / 22.25 MB, free: 4.859 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.785 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.008432/0.008432, allocations: 1.338 MB / 313.8 MB, free: 1.656 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.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_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.002892/0.002892, allocations: 67.89 kB / 439.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1647, allocations: 53.66 MB / 493.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003578/0.1683, allocations: 1.754 MB / 495.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1698, allocations: 0.5533 MB / 495.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.1699, allocations: 4 kB / 495.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.1701, allocations: 15.8 kB / 495.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.1702, allocations: 39.7 kB / 495.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1706, allocations: 91.83 kB / 496 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.1709, allocations: 159.4 kB / 496.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.1711, allocations: 41.66 kB / 496.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1712, allocations: 55.72 kB / 496.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1713, allocations: 47.72 kB / 496.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.1713, allocations: 8 kB / 496.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.959e-05/0.1714, allocations: 12 kB / 496.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.1714, allocations: 23.92 kB / 496.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.1715, allocations: 47.73 kB / 496.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.1717, allocations: 139.4 kB / 496.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1717, allocations: 0 / 496.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1717, allocations: 0 / 496.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1717, allocations: 0 / 496.5 MB, free: 3.648 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007036/0.1724, allocations: 373.6 kB / 496.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1725, allocations: 8.031 kB / 496.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.1725, allocations: 16.84 kB / 496.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.1728, allocations: 154.9 kB / 497 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1728, allocations: 12.38 kB / 497 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.1729, allocations: 12.38 kB / 497 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.1732, allocations: 123.6 kB / 497.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1732, allocations: 0 / 497.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1732, allocations: 3.938 kB / 497.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1732, allocations: 4 kB / 497.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.1735, allocations: 71.89 kB / 497.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.1743, allocations: 428.3 kB / 497.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1746, allocations: 70.48 kB / 497.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1747, allocations: 36.95 kB / 497.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1747, allocations: 0 / 497.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1747, allocations: 34.56 kB / 497.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1747, allocations: 0 / 497.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004382/0.1752, allocations: 133.5 kB / 497.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.1752, allocations: 51.41 kB / 498 MB, free: 2.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1754, allocations: 162.8 kB / 498.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.1754, allocations: 33.64 kB / 498.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.1755, allocations: 120 kB / 498.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1755, allocations: 23.8 kB / 498.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.1756, allocations: 33.66 kB / 498.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1758, allocations: 322.8 kB / 498.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1759, allocations: 35.98 kB / 498.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.176, allocations: 54.55 kB / 498.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.1763, allocations: 98.41 kB / 498.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1763, allocations: 0 / 498.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003338/0.1766, allocations: 137.5 kB / 499 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1766, allocations: 4 kB / 499 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1766, allocations: 0 / 499 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1766, allocations: 7.938 kB / 499 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.1768, allocations: 31.98 kB / 499 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1768, allocations: 0 / 499 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.318e-05/0.1769, allocations: 15.88 kB / 499 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1769, allocations: 4 kB / 499 MB, free: 0.8828 MB / 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 (13): * Single equations (assignments): 13 * 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.0001779/0.1771, allocations: 133.8 kB / 499.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.1771, allocations: 7.953 kB / 499.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.1772, allocations: 17.39 kB / 499.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1772, allocations: 3.938 kB / 499.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1772, allocations: 0 / 499.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1772, allocations: 0 / 499.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.1778, allocations: 334.9 kB / 499.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1778, allocations: 0 / 499.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.1781, allocations: 40.31 kB / 499.6 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1781, allocations: 3.938 kB / 499.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1781, allocations: 0 / 499.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.1794, allocations: 1.278 MB / 0.4891 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1794, allocations: 3.938 kB / 0.4891 GB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.1798, allocations: 248.3 kB / 0.4893 GB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.1799, allocations: 11.97 kB / 0.4894 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1799, allocations: 7.984 kB / 0.4894 GB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.18, allocations: 4 kB / 0.4894 GB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.18, allocations: 11.92 kB / 0.4894 GB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.18, allocations: 0 / 0.4894 GB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1802, allocations: 119.2 kB / 0.4895 GB, free: 14.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1802, allocations: 0 / 0.4895 GB, free: 14.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.1804, allocations: 39.89 kB / 0.4895 GB, free: 14.47 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 (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.0001308/0.1806, allocations: 95.25 kB / 0.4896 GB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.1809, allocations: 83.88 kB / 0.4897 GB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1809, allocations: 0 / 0.4897 GB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.1812, allocations: 44.14 kB / 0.4897 GB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.1817, allocations: 51.45 kB / 0.4898 GB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.1824, allocations: 325 kB / 0.4901 GB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.1825, allocations: 105.3 kB / 0.4902 GB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.798e-05/0.1826, allocations: 12.95 kB / 0.4902 GB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.1827, allocations: 19.44 kB / 0.4902 GB, free: 13.69 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1827, allocations: 0 / 0.4902 GB, free: 13.69 MB / 366.1 MB Notification: Performance of Templates: time 0.005378/0.1881, allocations: 1.655 MB / 0.4919 GB, free: 12.1 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.949255960062146] Failed to read output from testmodel.py, exit status != 0: 0.1989842914044857 0.387602294 0.039463019 Calling exit ...