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.001285/0.001285, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.00165/0.00165, allocations: 217.6 kB / 22.25 MB, free: 5.137 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 8.039 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.329 MB / 313.8 MB, free: 1.902 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_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.002109/0.002109, allocations: 75.89 kB / 439.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.0994, allocations: 53.66 MB / 493.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003145/0.1025, allocations: 1.824 MB / 494.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1036, allocations: 0.5922 MB / 495.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.1037, allocations: 4 kB / 495.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.1038, allocations: 23.73 kB / 495.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.12e-05/0.1039, allocations: 31.72 kB / 495.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1042, allocations: 87.83 kB / 495.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1044, allocations: 163.4 kB / 495.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1046, allocations: 37.95 kB / 495.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.1047, allocations: 51.73 kB / 495.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.883e-05/0.1048, allocations: 59.7 kB / 496 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1048, allocations: 12 kB / 496 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.029e-05/0.1048, allocations: 12 kB / 496 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.1048, allocations: 27.91 kB / 496 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.1049, allocations: 59.61 kB / 496.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1051, allocations: 131.4 kB / 496.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1051, allocations: 3.938 kB / 496.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1051, allocations: 0 / 496.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1051, allocations: 0 / 496.2 MB, free: 4.242 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.0006942/0.1058, allocations: 373.6 kB / 496.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1058, allocations: 12.03 kB / 496.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.1059, allocations: 42.73 kB / 496.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.1059, allocations: 16.84 kB / 496.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1062, allocations: 151 kB / 496.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1062, allocations: 8.375 kB / 496.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1062, allocations: 12.38 kB / 496.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.1065, allocations: 121.8 kB / 496.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1065, allocations: 0 / 496.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1065, allocations: 19.94 kB / 496.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1066, allocations: 0 / 496.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.1068, allocations: 67.89 kB / 497 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.1076, allocations: 475.7 kB / 497.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1078, allocations: 70.42 kB / 497.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1079, allocations: 36.97 kB / 497.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.1079, allocations: 0 / 497.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.108, allocations: 38.55 kB / 497.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.108, allocations: 0 / 497.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000432/0.1084, allocations: 125.5 kB / 497.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1084, allocations: 55.41 kB / 497.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1086, allocations: 179 kB / 498 MB, free: 2.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.1086, allocations: 25.7 kB / 498 MB, free: 2.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.1087, allocations: 120 kB / 498.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1087, allocations: 27.78 kB / 498.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.1088, allocations: 33.67 kB / 498.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.109, allocations: 326.8 kB / 498.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1091, allocations: 35.97 kB / 498.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1092, allocations: 50.55 kB / 498.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.1095, allocations: 94.53 kB / 498.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1095, allocations: 0 / 498.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003028/0.1098, allocations: 133.5 kB / 498.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1098, allocations: 7.938 kB / 498.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1098, allocations: 8 kB / 498.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1098, allocations: 4 kB / 498.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.11, allocations: 27.97 kB / 498.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.11, allocations: 4 kB / 498.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-05/0.1101, allocations: 19.88 kB / 498.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1101, allocations: 4 kB / 498.9 MB, free: 1.352 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.871e-05/0.1102, allocations: 117.8 kB / 499 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.1102, allocations: 23.78 kB / 499 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.1103, allocations: 13.41 kB / 499 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1103, allocations: 4 kB / 499 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1103, allocations: 3.984 kB / 499 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1103, allocations: 0 / 499 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.1108, allocations: 362.4 kB / 499.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1108, allocations: 3.938 kB / 499.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.1111, allocations: 40.31 kB / 499.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1111, allocations: 0 / 499.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1111, allocations: 8 kB / 499.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1122, allocations: 1.297 MB / 0.489 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1122, allocations: 0 / 0.489 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.1127, allocations: 240.3 kB / 0.4892 GB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.1127, allocations: 23.92 kB / 0.4892 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1127, allocations: 0 / 0.4892 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1128, allocations: 11.92 kB / 0.4893 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.1129, allocations: 8 kB / 0.4893 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1129, allocations: 0 / 0.4893 GB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.113, allocations: 123.2 kB / 0.4894 GB, free: 14.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.113, allocations: 12 kB / 0.4894 GB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1133, allocations: 27.94 kB / 0.4894 GB, free: 14.86 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.0007583/0.114, allocations: 0.7718 MB / 0.4902 GB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.1143, allocations: 75.89 kB / 0.4902 GB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1143, allocations: 0 / 0.4902 GB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1145, allocations: 39.91 kB / 0.4903 GB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.1149, allocations: 53.81 kB / 0.4903 GB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.1173, allocations: 1.803 MB / 0.4921 GB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1177, allocations: 0.7119 MB / 0.4928 GB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.2e-05/0.1177, allocations: 8.984 kB / 0.4928 GB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.434e-05/0.1178, allocations: 39.42 kB / 0.4928 GB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1178, allocations: 4 kB / 0.4928 GB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.1472, allocations: 3.274 MB / 0.496 GB, free: 8.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.19, allocations: 11.78 kB / 0.4961 GB, free: 8.09 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.08502827600023] Failed to read output from testmodel.py, exit status != 0: 11.289447133000067 11.502014868 11.392662927 Calling exit ...