Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_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.001365/0.001365, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001605/0.001605, allocations: 215.9 kB / 23.03 MB, free: 4.949 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.008513/0.008513, allocations: 1.347 MB / 314.6 MB, free: 1.641 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.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",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.00198/0.00198, allocations: 67.91 kB / 440.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09593, allocations: 53.68 MB / 493.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003726/0.09966, allocations: 1.909 MB / 495.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1009, allocations: 0.5689 MB / 496.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-05/0.101, allocations: 7.938 kB / 496.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.1012, allocations: 19.73 kB / 496.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.134e-05/0.1013, allocations: 43.64 kB / 496.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1015, allocations: 87.89 kB / 496.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.1018, allocations: 187.3 kB / 496.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.102, allocations: 49.67 kB / 496.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1021, allocations: 71.66 kB / 496.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1022, allocations: 63.64 kB / 496.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.1023, allocations: 12 kB / 496.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.82e-05/0.1023, allocations: 12 kB / 496.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.1023, allocations: 31.91 kB / 496.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.1024, allocations: 55.67 kB / 496.9 MB, free: 4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.1027, allocations: 159.2 kB / 497.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1027, allocations: 0 / 497.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1027, allocations: 0 / 497.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1027, allocations: 0 / 497.1 MB, free: 3.844 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006852/0.1034, allocations: 401.4 kB / 497.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1034, allocations: 12.03 kB / 497.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.942e-05/0.1034, allocations: 192 / 497.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.1035, allocations: 42.69 kB / 497.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.1035, allocations: 28.78 kB / 497.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.1039, allocations: 162.3 kB / 497.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1039, allocations: 8.375 kB / 497.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1039, allocations: 12.38 kB / 497.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1042, allocations: 135.2 kB / 497.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1042, allocations: 0 / 497.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1042, allocations: 4 kB / 497.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1042, allocations: 4 kB / 497.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1044, allocations: 67.89 kB / 497.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008986/0.1053, allocations: 487.6 kB / 498.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1055, allocations: 94.47 kB / 498.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1056, allocations: 44.78 kB / 498.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1057, allocations: 0 / 498.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1057, allocations: 30.56 kB / 498.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.1057, allocations: 4 kB / 498.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004067/0.1061, allocations: 125.7 kB / 498.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1061, allocations: 51.41 kB / 498.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1063, allocations: 180.2 kB / 498.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1064, allocations: 29.7 kB / 498.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1065, allocations: 132.3 kB / 499.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.1065, allocations: 35.69 kB / 499.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.1066, allocations: 33.72 kB / 499.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1067, allocations: 326.8 kB / 499.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.1068, allocations: 35.98 kB / 499.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1069, allocations: 54.56 kB / 499.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1071, allocations: 105.8 kB / 499.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1071, allocations: 0 / 499.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002682/0.1074, allocations: 157.4 kB / 499.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.1074, allocations: 4 kB / 499.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1074, allocations: 4 kB / 499.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1074, allocations: 384 / 499.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.1076, allocations: 39.91 kB / 499.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1076, allocations: 4 kB / 499.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.1077, allocations: 11.89 kB / 499.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1077, allocations: 11.94 kB / 499.9 MB, free: 0.8086 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 (18): * Single equations (assignments): 18 * 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.0001505/0.1078, allocations: 129.8 kB / 0.4883 GB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.1079, allocations: 15.84 kB / 0.4883 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.1079, allocations: 21.39 kB / 0.4883 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1079, allocations: 0 / 0.4883 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1079, allocations: 0 / 0.4883 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1079, allocations: 0 / 0.4883 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/0.1085, allocations: 378.4 kB / 0.4887 GB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1085, allocations: 0 / 0.4887 GB, free: 220 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.1087, allocations: 40 kB / 0.4887 GB, free: 180 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1087, allocations: 0 / 0.4887 GB, free: 180 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1087, allocations: 0 / 0.4887 GB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.1099, allocations: 1.301 MB / 0.49 GB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1099, allocations: 0 / 0.49 GB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.1102, allocations: 248.4 kB / 0.4902 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.1103, allocations: 23.83 kB / 0.4903 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1103, allocations: 3.938 kB / 0.4903 GB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.1104, allocations: 4 kB / 0.4903 GB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1104, allocations: 11.97 kB / 0.4903 GB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1104, allocations: 4 kB / 0.4903 GB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1106, allocations: 135.4 kB / 0.4904 GB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1106, allocations: 0 / 0.4904 GB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1108, allocations: 28 kB / 0.4904 GB, free: 14.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.0006991/0.1115, allocations: 0.7874 MB / 0.4912 GB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.1118, allocations: 91.81 kB / 0.4913 GB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1118, allocations: 0 / 0.4913 GB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.112, allocations: 44.16 kB / 0.4913 GB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1124, allocations: 39.91 kB / 0.4914 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.1148, allocations: 1.946 MB / 0.4933 GB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.1149, allocations: 112 kB / 0.4934 GB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.216e-05/0.1149, allocations: 17.08 kB / 0.4934 GB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.115, allocations: 43.42 kB / 0.4934 GB, free: 11.07 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.115, allocations: 0 / 0.4934 GB, free: 11.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.1441, allocations: 3.812 MB / 0.4972 GB, free: 7.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.64, allocations: 18.59 kB / 0.4972 GB, free: 7.457 MB / 366.1 MB " [Timeout remaining time 648] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.492373056011274] Failed to read output from testmodel.py, exit status != 0: 11.814474964048713 12.024856473 11.919400981 Calling exit ...