Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.001643/0.001643, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00207/0.00207, allocations: 221.1 kB / 23.05 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.467/1.467, 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.01679/0.01679, allocations: 1.34 MB / 314.6 MB, free: 1.945 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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_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.002049/0.002049, allocations: 67.91 kB / 440.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09978, allocations: 53.67 MB / 493.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003027/0.1028, allocations: 1.711 MB / 495.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1039, allocations: 0.5806 MB / 496.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.104, allocations: 4 kB / 496.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1041, allocations: 19.8 kB / 496.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.1042, allocations: 27.72 kB / 496.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.1045, allocations: 79.91 kB / 496.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1047, allocations: 127.5 kB / 496.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1048, allocations: 37.5 kB / 496.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.781e-05/0.1049, allocations: 47.73 kB / 496.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.105, allocations: 43.78 kB / 496.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.105, allocations: 12 kB / 496.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.915e-05/0.105, allocations: 12 kB / 496.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.105, allocations: 19.86 kB / 496.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.1051, allocations: 55.67 kB / 496.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1053, allocations: 119.5 kB / 496.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1053, allocations: 0 / 496.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1053, allocations: 0 / 496.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1053, allocations: 0 / 496.7 MB, free: 4.441 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005499/0.1058, allocations: 340.4 kB / 497.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1059, allocations: 20.02 kB / 497.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.276e-05/0.1059, allocations: 192 / 497.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.1059, allocations: 42.69 kB / 497.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.106, allocations: 12.84 kB / 497.2 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1062, allocations: 151.9 kB / 497.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1062, allocations: 8.375 kB / 497.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1062, allocations: 8.375 kB / 497.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1064, allocations: 110.9 kB / 497.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1064, allocations: 0 / 497.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1064, allocations: 0 / 497.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1064, allocations: 4 kB / 497.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/0.1065, allocations: 43.91 kB / 497.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/0.1072, allocations: 0.5271 MB / 498 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1074, allocations: 46.55 kB / 498 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.1074, allocations: 16.89 kB / 498.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.1074, allocations: 0 / 498.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1074, allocations: 38.5 kB / 498.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1074, allocations: 4 kB / 498.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001986/0.1076, allocations: 69.62 kB / 498.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1077, allocations: 51.41 kB / 498.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1079, allocations: 191.3 kB / 498.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1079, allocations: 29.7 kB / 498.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.108, allocations: 112 kB / 498.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.108, allocations: 19.84 kB / 498.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.1081, allocations: 29.7 kB / 498.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1082, allocations: 326.8 kB / 498.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.1082, allocations: 20 kB / 498.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.1083, allocations: 51.42 kB / 499 MB, free: 1.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1084, allocations: 71.36 kB / 499.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1084, allocations: 4 kB / 499.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001955/0.1086, allocations: 125.4 kB / 499.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1086, allocations: 7.938 kB / 499.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1086, allocations: 3.984 kB / 499.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1087, allocations: 4 kB / 499.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.1088, allocations: 31.98 kB / 499.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1088, allocations: 0 / 499.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.972e-05/0.1089, allocations: 11.89 kB / 499.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1089, allocations: 4 kB / 499.2 MB, free: 1.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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.0001004/0.109, allocations: 125.9 kB / 499.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.109, allocations: 15.84 kB / 499.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.1091, allocations: 13.03 kB / 499.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1091, allocations: 0 / 499.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1091, allocations: 0 / 499.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1091, allocations: 7.984 kB / 499.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.1095, allocations: 318.4 kB / 499.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1095, allocations: 4.031 kB / 499.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.1097, allocations: 23.98 kB / 499.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.1097, allocations: 4 kB / 499.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1097, allocations: 0 / 499.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.1108, allocations: 1.297 MB / 0.4893 GB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1108, allocations: 0 / 0.4893 GB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1111, allocations: 188.6 kB / 0.4895 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1111, allocations: 19.92 kB / 0.4895 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1111, allocations: 3.938 kB / 0.4895 GB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.1112, allocations: 7.938 kB / 0.4895 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.1112, allocations: 7.922 kB / 0.4895 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1112, allocations: 0 / 0.4895 GB, free: 15.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1114, allocations: 131.2 kB / 0.4896 GB, free: 15.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1114, allocations: 3.938 kB / 0.4896 GB, free: 15.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1116, allocations: 27.94 kB / 0.4897 GB, free: 15.34 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 (4): * Single equations (assignments): 3 * 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.0004837/0.1121, allocations: 0.7056 MB / 0.4904 GB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1123, allocations: 63.75 kB / 0.4904 GB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1123, allocations: 4.25 kB / 0.4904 GB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1124, allocations: 23.98 kB / 0.4904 GB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.1129, allocations: 39.89 kB / 0.4905 GB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1149, allocations: 1.741 MB / 0.4922 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1153, allocations: 0.7118 MB / 0.4929 GB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.565e-05/0.1153, allocations: 12.97 kB / 0.4929 GB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.1154, allocations: 35.44 kB / 0.4929 GB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1154, allocations: 0 / 0.4929 GB, free: 11.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.1391, allocations: 3.027 MB / 0.4959 GB, free: 9.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.58, allocations: 19.22 kB / 0.4959 GB, free: 8.996 MB / 366.1 MB " [Timeout remaining time 648] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.441513194004074] Failed to read output from testmodel.py, exit status != 0: 11.745708325994201 11.924052312 11.815905172 Calling exit ...