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.001776/0.001776, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002245/0.002245, allocations: 217 kB / 23.04 MB, free: 5.074 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.008397/0.008397, allocations: 1.342 MB / 314.6 MB, free: 1.852 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.002812/0.002812, allocations: 63.91 kB / 440.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09782, allocations: 53.68 MB / 493.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003428/0.1012, allocations: 1.994 MB / 495.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1024, allocations: 0.6116 MB / 496.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.1024, allocations: 4 kB / 496.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.1026, allocations: 27.73 kB / 496.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.1027, allocations: 35.66 kB / 496.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1029, allocations: 99.8 kB / 496.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.1032, allocations: 175.4 kB / 496.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1034, allocations: 49.62 kB / 496.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.1034, allocations: 67.7 kB / 496.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1036, allocations: 71.64 kB / 497 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1036, allocations: 12 kB / 497 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.219e-05/0.1036, allocations: 15.94 kB / 497 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.1037, allocations: 27.86 kB / 497.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/0.1037, allocations: 79.53 kB / 497.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1039, allocations: 147.3 kB / 497.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.104, allocations: 0 / 497.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.104, allocations: 3.984 kB / 497.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.104, allocations: 0 / 497.3 MB, free: 3.902 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.000619/0.1046, allocations: 401.4 kB / 497.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1046, allocations: 8.031 kB / 497.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.361e-05/0.1046, allocations: 4.188 kB / 497.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.1047, allocations: 46.73 kB / 497.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.1047, allocations: 20.8 kB / 497.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.105, allocations: 162.3 kB / 497.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.105, allocations: 8.375 kB / 497.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.105, allocations: 12.38 kB / 497.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.1053, allocations: 139.2 kB / 498.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1053, allocations: 3.938 kB / 498.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1053, allocations: 4 kB / 498.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1053, allocations: 4 kB / 498.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1055, allocations: 59.97 kB / 498.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.1063, allocations: 0.5034 MB / 498.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.1065, allocations: 82.55 kB / 498.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1066, allocations: 48.77 kB / 498.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1066, allocations: 4 kB / 498.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1067, allocations: 34.56 kB / 498.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1067, allocations: 0 / 498.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003537/0.107, allocations: 129.7 kB / 498.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.1071, allocations: 51.41 kB / 499 MB, free: 2.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1073, allocations: 180.2 kB / 499.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1073, allocations: 33.7 kB / 499.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.1074, allocations: 132.3 kB / 499.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.1074, allocations: 35.69 kB / 499.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.1075, allocations: 37.7 kB / 499.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1076, allocations: 323.2 kB / 499.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.1077, allocations: 31.98 kB / 499.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1078, allocations: 61.36 kB / 499.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.108, allocations: 98.5 kB / 499.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.108, allocations: 7.938 kB / 499.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002837/0.1083, allocations: 153.4 kB / 0.4883 GB, free: 0.9141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1083, allocations: 8 kB / 0.4883 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1083, allocations: 0 / 0.4883 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1083, allocations: 0 / 0.4883 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.1085, allocations: 40.05 kB / 0.4884 GB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.1085, allocations: 3.938 kB / 0.4884 GB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.1086, allocations: 15.88 kB / 0.4884 GB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1086, allocations: 8 kB / 0.4884 GB, free: 0.8398 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.0001125/0.1087, allocations: 125.8 kB / 0.4885 GB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.1088, allocations: 15.84 kB / 0.4885 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.1088, allocations: 17.41 kB / 0.4886 GB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1088, allocations: 0 / 0.4886 GB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1088, allocations: 4 kB / 0.4886 GB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1088, allocations: 3.984 kB / 0.4886 GB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.1094, allocations: 390.3 kB / 0.4889 GB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1094, allocations: 0 / 0.4889 GB, free: 240 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.1096, allocations: 35.97 kB / 0.489 GB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1096, allocations: 0 / 0.489 GB, free: 204 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1096, allocations: 0 / 0.489 GB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.1107, allocations: 1.301 MB / 0.4902 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1107, allocations: 0 / 0.4902 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.1111, allocations: 248.3 kB / 0.4905 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.1111, allocations: 19.83 kB / 0.4905 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1111, allocations: 7.938 kB / 0.4905 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.1112, allocations: 8.125 kB / 0.4905 GB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.1113, allocations: 7.984 kB / 0.4905 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.1113, allocations: 3.938 kB / 0.4905 GB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1114, allocations: 135.4 kB / 0.4907 GB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1114, allocations: 4 kB / 0.4907 GB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1117, allocations: 24 kB / 0.4907 GB, free: 14.32 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.000647/0.1123, allocations: 0.785 MB / 0.4915 GB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1125, allocations: 81.86 kB / 0.4915 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1125, allocations: 8 kB / 0.4915 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.1127, allocations: 52.23 kB / 0.4916 GB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.1132, allocations: 43.94 kB / 0.4916 GB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.1155, allocations: 1.937 MB / 0.4935 GB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1159, allocations: 0.7279 MB / 0.4942 GB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.07e-05/0.1159, allocations: 13.06 kB / 0.4942 GB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.116, allocations: 47.42 kB / 0.4943 GB, free: 10.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.116, allocations: 4 kB / 0.4943 GB, free: 10.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.1405, allocations: 3.685 MB / 0.4979 GB, free: 6.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.3, allocations: 8.047 kB / 0.4979 GB, free: 6.969 MB / 366.1 MB " [Timeout remaining time 649] (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.182121096993797] Failed to read output from testmodel.py, exit status != 0: 11.470889232994523 11.715270939 11.608459754 Calling exit ...