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.001318/0.001318, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001448/0.001448, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.58/1.58, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.007835/0.007835, allocations: 1.34 MB / 310.9 MB, free: 3.172 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="cs",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="cs",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.002108/0.002108, allocations: 69.89 kB / 434.6 MB, free: 39.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09262, allocations: 53.63 MB / 488.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002804/0.09542, allocations: 1.806 MB / 490.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.09638, allocations: 0.5906 MB / 490.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.09647, allocations: 2.125 kB / 490.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.09664, allocations: 16.95 kB / 490.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.738e-05/0.09671, allocations: 40.27 kB / 490.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.09694, allocations: 84.92 kB / 490.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.09717, allocations: 171.6 kB / 491 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.09733, allocations: 43.8 kB / 491 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.661e-05/0.0974, allocations: 59.42 kB / 491.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.09748, allocations: 57.2 kB / 491.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.0975, allocations: 10.56 kB / 491.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.09753, allocations: 9.938 kB / 491.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.09755, allocations: 23.48 kB / 491.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.09761, allocations: 64.5 kB / 491.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.09778, allocations: 143.4 kB / 491.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.09779, allocations: 0 / 491.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.09779, allocations: 0 / 491.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.0978, allocations: 0 / 491.4 MB, free: 13.59 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.0006225/0.09842, allocations: 445.1 kB / 491.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.09847, allocations: 10.12 kB / 491.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/0.09849, allocations: 2.188 kB / 491.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.09851, allocations: 44.89 kB / 491.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.09855, allocations: 16.91 kB / 491.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.09875, allocations: 211 kB / 492.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.09877, allocations: 8.531 kB / 492.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.0988, allocations: 11.5 kB / 492.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.09906, allocations: 121.8 kB / 492.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.09906, allocations: 0 / 492.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.09908, allocations: 9.172 kB / 492.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.09909, allocations: 6.031 kB / 492.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.09931, allocations: 68.12 kB / 492.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.09995, allocations: 0.502 MB / 492.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1001, allocations: 72.39 kB / 492.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1002, allocations: 34.58 kB / 492.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1003, allocations: 0 / 492.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.1003, allocations: 38.5 kB / 492.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.1003, allocations: 4 kB / 492.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004084/0.1007, allocations: 123.2 kB / 493.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.1007, allocations: 55.39 kB / 493.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1008, allocations: 176.7 kB / 493.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1008, allocations: 25.7 kB / 493.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.1009, allocations: 122.6 kB / 493.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.1009, allocations: 26.89 kB / 493.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.101, allocations: 34.16 kB / 493.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.101, allocations: 321.2 kB / 493.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1011, allocations: 30.77 kB / 493.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1013, allocations: 62.3 kB / 493.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.1015, allocations: 111.9 kB / 494 MB, free: 11.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1015, allocations: 7.938 kB / 494 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003026/0.1018, allocations: 138.3 kB / 494.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1018, allocations: 11.22 kB / 494.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1018, allocations: 1.125 kB / 494.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1018, allocations: 2.25 kB / 494.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.1022, allocations: 41.09 kB / 494.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007683/0.1029, allocations: 1.4 MB / 495.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.103, allocations: 13.92 kB / 495.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.103, allocations: 7.875 kB / 495.6 MB, free: 9.555 MB / 350.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 7.783e-05/0.1031, allocations: 123.8 kB / 495.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1031, allocations: 13.31 kB / 495.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.1032, allocations: 16.3 kB / 495.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1032, allocations: 1.969 kB / 495.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.1032, allocations: 0 / 495.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1032, allocations: 0 / 495.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.1036, allocations: 412.4 kB / 496.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1036, allocations: 0 / 496.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.1038, allocations: 32.02 kB / 496.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1038, allocations: 3.984 kB / 496.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1039, allocations: 1.25 kB / 496.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006365/0.1045, allocations: 1.404 MB / 497.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1045, allocations: 1.438 kB / 497.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.1049, allocations: 242.1 kB / 497.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.1049, allocations: 89.19 kB / 498 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1049, allocations: 9.484 kB / 498 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.105, allocations: 4.125 kB / 498 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.1051, allocations: 10.73 kB / 498 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1051, allocations: 1.375 kB / 498 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.1052, allocations: 122.4 kB / 498.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1052, allocations: 96 / 498.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000292/0.1055, allocations: 37.83 kB / 498.1 MB, free: 7.086 MB / 350.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.0005964/0.106, allocations: 0.7675 MB / 498.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.1065, allocations: 97.58 kB / 499 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1065, allocations: 0 / 499 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.1066, allocations: 50.02 kB / 499 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.1071, allocations: 38.14 kB / 499.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1089, allocations: 1.841 MB / 0.4892 GB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.1091, allocations: 0.7097 MB / 0.4899 GB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.352e-05/0.1091, allocations: 19.58 kB / 0.4899 GB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.1092, allocations: 41.95 kB / 0.4899 GB, free: 3.918 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1092, allocations: 0 / 0.4899 GB, free: 3.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.1289, allocations: 3.238 MB / 0.4931 GB, free: 1.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/8.441, allocations: 8 kB / 0.4931 GB, free: 1.09 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.208317177020945] Failed to read output from testmodel.py, exit status != 0: 8.574775133049116 8.603079574 8.500020494 Calling exit ...