Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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.001878/0.001878, allocations: 110.6 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.002458/0.002458, allocations: 220.9 kB / 22.26 MB, free: 5.125 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.988 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.008524/0.008524, allocations: 1.34 MB / 313.8 MB, free: 1.957 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: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [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.003025/0.003025, allocations: 69.45 kB / 439.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1588, allocations: 53.67 MB / 493.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.005051/0.1639, allocations: 1.821 MB / 494.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1657, allocations: 0.5961 MB / 495.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.1659, allocations: 4 kB / 495.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1662, allocations: 19.73 kB / 495.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1663, allocations: 31.72 kB / 495.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.1668, allocations: 91.88 kB / 495.7 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.1672, allocations: 175.4 kB / 495.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.1674, allocations: 37.95 kB / 495.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.1676, allocations: 63.7 kB / 495.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1678, allocations: 51.72 kB / 496 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/0.1678, allocations: 8 kB / 496 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.429e-05/0.1678, allocations: 12 kB / 496 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.1679, allocations: 23.92 kB / 496 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.168, allocations: 67.55 kB / 496.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.1683, allocations: 127.4 kB / 496.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1683, allocations: 4 kB / 496.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1683, allocations: 0 / 496.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1683, allocations: 0 / 496.2 MB, free: 4.211 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.0009171/0.1692, allocations: 373.5 kB / 496.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.1693, allocations: 12.03 kB / 496.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.273e-05/0.1693, allocations: 46.73 kB / 496.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.1694, allocations: 16.84 kB / 496.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.1697, allocations: 151 kB / 496.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1697, allocations: 8.375 kB / 496.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.1698, allocations: 12.38 kB / 496.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.1702, allocations: 123.4 kB / 496.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1702, allocations: 3.938 kB / 497 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1702, allocations: 4 kB / 497 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1702, allocations: 4 kB / 497 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.1705, allocations: 67.94 kB / 497 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1716, allocations: 475.6 kB / 497.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.1719, allocations: 70.55 kB / 497.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.1721, allocations: 36.95 kB / 497.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1721, allocations: 0 / 497.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.1721, allocations: 38.5 kB / 497.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.256e-06/0.1721, allocations: 3.984 kB / 497.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006013/0.1727, allocations: 133.4 kB / 497.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1728, allocations: 51.41 kB / 497.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.173, allocations: 175 kB / 498 MB, free: 2.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.1731, allocations: 29.7 kB / 498 MB, free: 2.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1732, allocations: 116 kB / 498.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.1732, allocations: 27.78 kB / 498.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.1733, allocations: 29.67 kB / 498.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1735, allocations: 326.8 kB / 498.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.1736, allocations: 31.97 kB / 498.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1738, allocations: 70.52 kB / 498.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.1742, allocations: 108.1 kB / 498.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1742, allocations: 0 / 498.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004371/0.1746, allocations: 137.5 kB / 498.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.1746, allocations: 12.06 kB / 498.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1746, allocations: 4 kB / 498.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1746, allocations: 0 / 498.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.175, allocations: 36.06 kB / 498.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.1766, allocations: 1.309 MB / 0.4885 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1767, allocations: 15.92 kB / 0.4885 GB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1767, allocations: 8 kB / 0.4885 GB, free: 15.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 12 * 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 prepare postOptimizeDAE: time 0.0001402/0.1769, allocations: 129.8 kB / 0.4886 GB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.1769, allocations: 11.91 kB / 0.4886 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.177, allocations: 17.41 kB / 0.4887 GB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.177, allocations: 0 / 0.4887 GB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.177, allocations: 3.984 kB / 0.4887 GB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.177, allocations: 0 / 0.4887 GB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008101/0.1778, allocations: 370.3 kB / 0.489 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1778, allocations: 4 kB / 0.489 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.1781, allocations: 27.97 kB / 0.489 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1781, allocations: 4 kB / 0.489 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1781, allocations: 4 kB / 0.4891 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.1793, allocations: 1.305 MB / 0.4903 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1793, allocations: 0 / 0.4903 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.1798, allocations: 248.4 kB / 0.4906 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1798, allocations: 19.91 kB / 0.4906 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1798, allocations: 0 / 0.4906 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1799, allocations: 8.109 kB / 0.4906 GB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.18, allocations: 12 kB / 0.4906 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.18, allocations: 4 kB / 0.4906 GB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1801, allocations: 131.2 kB / 0.4907 GB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1801, allocations: 0 / 0.4907 GB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.1804, allocations: 27.89 kB / 0.4908 GB, free: 13.36 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.0008329/0.1812, allocations: 0.7679 MB / 0.4915 GB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.1817, allocations: 91.81 kB / 0.4916 GB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1817, allocations: 320 / 0.4916 GB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.1819, allocations: 43.97 kB / 0.4916 GB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.1823, allocations: 47.03 kB / 0.4917 GB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.1848, allocations: 1.845 MB / 0.4935 GB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1852, allocations: 0.7119 MB / 0.4942 GB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.458e-05/0.1853, allocations: 12.97 kB / 0.4942 GB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.1854, allocations: 43.42 kB / 0.4942 GB, free: 9.641 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1854, allocations: 0 / 0.4942 GB, free: 9.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.2185, allocations: 3.312 MB / 0.4975 GB, free: 6.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.29, allocations: 19.16 kB / 0.4975 GB, free: 6.488 MB / 366.1 MB " [Timeout remaining time 649] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD_fmu --startTime=0 --stopTime=1000 --stepSize=2 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.12662684591487] Failed to read output from testmodel.py, exit status != 0: 11.396614631870762 11.580433267 11.409228519000001 Calling exit ...