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.001299/0.001299, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001445/0.001445, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.008733/0.008733, allocations: 1.353 MB / 314.6 MB, free: 1.746 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.002024/0.002024, allocations: 63.91 kB / 440.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09908, allocations: 53.68 MB / 493.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003169/0.1022, allocations: 1.755 MB / 495.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1033, allocations: 0.5494 MB / 496.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.1034, allocations: 4 kB / 496.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1036, allocations: 19.8 kB / 496.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.1036, allocations: 39.66 kB / 496.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1039, allocations: 83.89 kB / 496.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1041, allocations: 175.4 kB / 496.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1043, allocations: 37.94 kB / 496.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.592e-05/0.1044, allocations: 63.72 kB / 496.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.96e-05/0.1045, allocations: 51.7 kB / 496.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.1045, allocations: 12 kB / 496.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.361e-05/0.1045, allocations: 8 kB / 496.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.1046, allocations: 23.92 kB / 496.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.1046, allocations: 59.66 kB / 496.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1048, allocations: 135.4 kB / 496.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1048, allocations: 0 / 496.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1048, allocations: 0 / 496.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1048, allocations: 0 / 496.8 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.0006537/0.1055, allocations: 376 kB / 497.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1055, allocations: 15.97 kB / 497.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.948e-05/0.1055, allocations: 4.188 kB / 497.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.1056, allocations: 38.69 kB / 497.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1056, allocations: 20.84 kB / 497.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1059, allocations: 151 kB / 497.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1059, allocations: 8.375 kB / 497.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.1059, allocations: 12.38 kB / 497.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.1062, allocations: 123.2 kB / 497.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.1063, allocations: 0 / 497.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.1063, allocations: 4 kB / 497.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1063, allocations: 4 kB / 497.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.1065, allocations: 67.95 kB / 497.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.1073, allocations: 447.8 kB / 498.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1075, allocations: 70.48 kB / 498.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1076, allocations: 32.97 kB / 498.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1076, allocations: 0 / 498.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.1077, allocations: 46.48 kB / 498.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.1077, allocations: 0 / 498.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004216/0.1081, allocations: 125.5 kB / 498.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.1081, allocations: 51.41 kB / 498.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1084, allocations: 175 kB / 498.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1084, allocations: 29.7 kB / 498.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.1085, allocations: 116 kB / 498.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.1085, allocations: 31.77 kB / 498.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.1086, allocations: 33.67 kB / 498.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1087, allocations: 322.8 kB / 499.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1088, allocations: 35.97 kB / 499.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.109, allocations: 64.27 kB / 499.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1092, allocations: 108.1 kB / 499.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1092, allocations: 4 kB / 499.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00032/0.1096, allocations: 137.4 kB / 499.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1096, allocations: 11.92 kB / 499.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1096, allocations: 0 / 499.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1096, allocations: 4 kB / 499.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.1099, allocations: 40.09 kB / 499.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.1111, allocations: 1.313 MB / 0.489 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.1112, allocations: 11.97 kB / 0.489 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1112, allocations: 11.94 kB / 0.4891 GB, free: 15.78 MB / 366.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 0.0001164/0.1113, allocations: 118 kB / 0.4892 GB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.1113, allocations: 19.83 kB / 0.4892 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.1114, allocations: 17.41 kB / 0.4892 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1114, allocations: 0 / 0.4892 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1114, allocations: 0 / 0.4892 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1114, allocations: 4 kB / 0.4892 GB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.1119, allocations: 354.4 kB / 0.4895 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1119, allocations: 3.938 kB / 0.4896 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.1122, allocations: 36 kB / 0.4896 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1122, allocations: 0 / 0.4896 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1122, allocations: 4 kB / 0.4896 GB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.1132, allocations: 1.301 MB / 0.4909 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1132, allocations: 160 / 0.4909 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.1137, allocations: 248.3 kB / 0.4911 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.1137, allocations: 11.98 kB / 0.4911 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1137, allocations: 7.984 kB / 0.4911 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1138, allocations: 4 kB / 0.4911 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.1139, allocations: 7.969 kB / 0.4911 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1139, allocations: 8 kB / 0.4911 GB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.114, allocations: 119.2 kB / 0.4912 GB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.114, allocations: 8 kB / 0.4913 GB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.1143, allocations: 35.89 kB / 0.4913 GB, free: 13.3 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.0007594/0.1151, allocations: 0.7602 MB / 0.492 GB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.1155, allocations: 99.98 kB / 0.4921 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1155, allocations: 3.938 kB / 0.4921 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.1157, allocations: 43.97 kB / 0.4922 GB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.1161, allocations: 48.17 kB / 0.4922 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.1187, allocations: 1.839 MB / 0.494 GB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.1188, allocations: 105.4 kB / 0.4941 GB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.1189, allocations: 20.91 kB / 0.4941 GB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.119, allocations: 39.42 kB / 0.4942 GB, free: 10.19 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.119, allocations: 0 / 0.4942 GB, free: 10.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.1437, allocations: 3.476 MB / 0.4976 GB, free: 6.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.71, allocations: 7.938 kB / 0.4976 GB, free: 6.918 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.555358106968924] Failed to read output from testmodel.py, exit status != 0: 11.877148502971977 12.065974832 11.958406056 Calling exit ...