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.00152/0.00152, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001464/0.001464, allocations: 213 kB / 22.24 MB, free: 5.262 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.773 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.008257/0.008257, allocations: 1.345 MB / 313.8 MB, free: 1.637 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: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",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.002096/0.002096, allocations: 63.91 kB / 439.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.09038, allocations: 53.67 MB / 493 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003034/0.09342, allocations: 1.763 MB / 494.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.09448, allocations: 0.5572 MB / 495.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.09454, allocations: 0 / 495.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.09467, allocations: 19.8 kB / 495.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.448e-05/0.09475, allocations: 35.7 kB / 495.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.09498, allocations: 87.83 kB / 495.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.09521, allocations: 159.4 kB / 495.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.09534, allocations: 37.92 kB / 495.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.09542, allocations: 67.67 kB / 495.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.0955, allocations: 43.7 kB / 495.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.09553, allocations: 12 kB / 495.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.292e-05/0.09555, allocations: 8 kB / 495.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.09558, allocations: 23.92 kB / 495.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.09564, allocations: 47.73 kB / 495.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.09582, allocations: 139.4 kB / 496 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.09583, allocations: 3.984 kB / 496 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09583, allocations: 0 / 496 MB, free: 4.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.09583, allocations: 0 / 496 MB, free: 4.125 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.000599/0.09643, allocations: 373.6 kB / 496.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.09647, allocations: 12.03 kB / 496.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.09651, allocations: 38.75 kB / 496.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.09655, allocations: 12.84 kB / 496.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.09676, allocations: 151 kB / 496.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.09678, allocations: 8.375 kB / 496.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.09681, allocations: 16.31 kB / 496.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.09709, allocations: 119.4 kB / 496.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.0971, allocations: 3.938 kB / 496.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.09711, allocations: 15.94 kB / 496.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.09712, allocations: 0 / 496.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.09734, allocations: 63.95 kB / 496.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.09809, allocations: 451.8 kB / 497.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.09828, allocations: 74.48 kB / 497.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.09839, allocations: 40.94 kB / 497.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.09841, allocations: 4 kB / 497.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.09843, allocations: 30.56 kB / 497.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.09843, allocations: 0 / 497.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004102/0.09884, allocations: 125.5 kB / 497.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.09888, allocations: 59.34 kB / 497.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.09905, allocations: 175 kB / 497.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.09907, allocations: 29.7 kB / 497.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.09915, allocations: 112 kB / 497.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.09917, allocations: 27.78 kB / 497.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.09923, allocations: 37.66 kB / 497.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.09936, allocations: 318.8 kB / 498.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.09948, allocations: 31.98 kB / 498.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.09961, allocations: 62.05 kB / 498.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.09984, allocations: 94.47 kB / 498.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.09984, allocations: 4 kB / 498.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003042/0.1001, allocations: 133.5 kB / 498.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1002, allocations: 11.94 kB / 498.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1002, allocations: 0 / 498.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1002, allocations: 4.062 kB / 498.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1004, allocations: 28.23 kB / 498.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1004, allocations: 0 / 498.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-05/0.1004, allocations: 23.88 kB / 498.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1005, allocations: 4 kB / 498.6 MB, free: 1.266 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 9.656e-05/0.1006, allocations: 122.8 kB / 498.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.1006, allocations: 15.84 kB / 498.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.1006, allocations: 21.39 kB / 498.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1006, allocations: 0 / 498.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1006, allocations: 4 kB / 498.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1006, allocations: 0 / 498.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.1012, allocations: 358.4 kB / 499.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1012, allocations: 3.984 kB / 499.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.1014, allocations: 31.98 kB / 499.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1014, allocations: 0 / 499.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1014, allocations: 0 / 499.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1025, allocations: 1.301 MB / 0.4887 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1025, allocations: 0 / 0.4887 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.1029, allocations: 240.2 kB / 0.489 GB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.1029, allocations: 24.08 kB / 0.489 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.103, allocations: 8 kB / 0.489 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1031, allocations: 16.05 kB / 0.489 GB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1031, allocations: 3.938 kB / 0.489 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1031, allocations: 7.984 kB / 0.489 GB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.1032, allocations: 127.2 kB / 0.4892 GB, free: 14.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1032, allocations: 0 / 0.4892 GB, free: 14.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1035, allocations: 23.94 kB / 0.4892 GB, free: 14.79 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.0007073/0.1042, allocations: 0.7779 MB / 0.4899 GB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.1045, allocations: 75.89 kB / 0.49 GB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1045, allocations: 0 / 0.49 GB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.1047, allocations: 47.89 kB / 0.4901 GB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1051, allocations: 48.08 kB / 0.4901 GB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.1074, allocations: 1.802 MB / 0.4919 GB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.469e-05/0.1075, allocations: 101.4 kB / 0.492 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.66e-05/0.1075, allocations: 12.97 kB / 0.492 GB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.1076, allocations: 39.42 kB / 0.492 GB, free: 11.74 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1076, allocations: 0 / 0.492 GB, free: 11.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.1386, allocations: 3.803 MB / 0.4957 GB, free: 8.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.34, allocations: 0 / 0.4957 GB, free: 8.117 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=1000 --stepSize=2 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.974969449918717] Failed to read output from testmodel.py, exit status != 0: 11.445488133933395 11.631085777000001 11.532314187 Calling exit ...