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.002041/0.002041, 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.002856/0.002856, allocations: 210.5 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.75 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.008499/0.008499, allocations: 1.343 MB / 313.8 MB, free: 1.621 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.002237/0.002237, allocations: 67.91 kB / 439.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09118/0.09342, allocations: 53.69 MB / 493 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003386/0.0968, allocations: 1.75 MB / 494.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.09795, allocations: 0.5572 MB / 495.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.09808, allocations: 3.938 kB / 495.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.09824, allocations: 15.8 kB / 495.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.09833, allocations: 31.72 kB / 495.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.09866, allocations: 95.81 kB / 495.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.09895, allocations: 155.4 kB / 495.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.09914, allocations: 41.88 kB / 495.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.09926, allocations: 59.73 kB / 495.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.09937, allocations: 51.69 kB / 495.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.0994, allocations: 12 kB / 495.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.723e-05/0.09943, allocations: 8 kB / 495.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.09946, allocations: 23.92 kB / 495.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.09953, allocations: 47.73 kB / 495.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.09976, allocations: 131.4 kB / 496 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.09977, allocations: 4 kB / 496 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09977, allocations: 0 / 496 MB, free: 4.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.09978, allocations: 0 / 496 MB, free: 4.113 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.0007189/0.1005, allocations: 377.6 kB / 496.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1005, allocations: 12.03 kB / 496.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.1006, allocations: 34.75 kB / 496.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1006, allocations: 16.84 kB / 496.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1009, allocations: 155 kB / 496.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1009, allocations: 12.31 kB / 496.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.1009, allocations: 12.38 kB / 496.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.1012, allocations: 119.4 kB / 496.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1012, allocations: 7.984 kB / 496.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1012, allocations: 4 kB / 496.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1012, allocations: 4 kB / 496.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1015, allocations: 67.89 kB / 496.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.1023, allocations: 451.8 kB / 497.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1025, allocations: 74.48 kB / 497.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1026, allocations: 40.95 kB / 497.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1026, allocations: 0 / 497.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1026, allocations: 34.56 kB / 497.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.1026, allocations: 0 / 497.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004154/0.103, allocations: 125.5 kB / 497.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1031, allocations: 55.41 kB / 497.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1033, allocations: 175 kB / 497.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1033, allocations: 33.64 kB / 497.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.1034, allocations: 112 kB / 497.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1034, allocations: 27.78 kB / 497.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.1034, allocations: 33.61 kB / 497.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1036, allocations: 322.8 kB / 498.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1037, allocations: 35.97 kB / 498.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1039, allocations: 61.8 kB / 498.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.1041, allocations: 90.53 kB / 498.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1041, allocations: 0 / 498.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003029/0.1044, allocations: 133.5 kB / 498.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1044, allocations: 11.88 kB / 498.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1044, allocations: 8.062 kB / 498.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1044, allocations: 0 / 498.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1046, allocations: 31.98 kB / 498.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1046, allocations: 0 / 498.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.647e-05/0.1047, allocations: 19.88 kB / 498.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.1047, allocations: 0 / 498.6 MB, free: 1.25 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.0001025/0.1048, allocations: 126.8 kB / 498.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.1048, allocations: 15.84 kB / 498.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.1049, allocations: 21.39 kB / 498.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1049, allocations: 4 kB / 498.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1049, allocations: 0 / 498.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1049, allocations: 0 / 498.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.1054, allocations: 354.4 kB / 499.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1054, allocations: 0 / 499.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.1057, allocations: 35.97 kB / 499.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1057, allocations: 0 / 499.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1057, allocations: 0 / 499.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.1068, allocations: 1.309 MB / 0.4888 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1068, allocations: 0 / 0.4888 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1072, allocations: 240.2 kB / 0.489 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.1073, allocations: 20.14 kB / 0.489 GB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1073, allocations: 8 kB / 0.489 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1074, allocations: 11.92 kB / 0.489 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1074, allocations: 0 / 0.489 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1074, allocations: 4 kB / 0.489 GB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1076, allocations: 135.2 kB / 0.4892 GB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1076, allocations: 0 / 0.4892 GB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1078, allocations: 23.94 kB / 0.4892 GB, free: 14.77 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.000749/0.1086, allocations: 0.7757 MB / 0.4899 GB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.1089, allocations: 79.83 kB / 0.49 GB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1089, allocations: 0 / 0.49 GB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.1091, allocations: 51.8 kB / 0.4901 GB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.1096, allocations: 49.19 kB / 0.4901 GB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.1119, allocations: 1.8 MB / 0.4919 GB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.112, allocations: 101.4 kB / 0.492 GB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.857e-05/0.112, allocations: 8.984 kB / 0.492 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.142e-05/0.1121, allocations: 39.42 kB / 0.492 GB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1121, allocations: 3.938 kB / 0.492 GB, free: 11.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.1429, allocations: 3.797 MB / 0.4957 GB, free: 8.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.37, allocations: 6.594 kB / 0.4957 GB, free: 8.098 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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2 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: 14.198780635371804] Failed to read output from testmodel.py, exit status != 0: 11.481608704198152 11.661070426 11.557426979 Calling exit ...