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.00182/0.00182, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002343/0.002343, allocations: 208.4 kB / 22.25 MB, free: 5.086 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 8.008 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.008392/0.008392, allocations: 1.344 MB / 313.8 MB, free: 1.867 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.002068/0.002068, allocations: 71.89 kB / 439.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1023, allocations: 53.67 MB / 493.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003176/0.1055, allocations: 1.817 MB / 494.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1065, allocations: 0.5922 MB / 495.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.1066, allocations: 4 kB / 495.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.1068, allocations: 15.8 kB / 495.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.1068, allocations: 39.64 kB / 495.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1071, allocations: 91.83 kB / 495.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.1073, allocations: 163.4 kB / 495.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1075, allocations: 37.94 kB / 495.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/0.1076, allocations: 55.73 kB / 495.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.1076, allocations: 59.7 kB / 496 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1077, allocations: 8 kB / 496 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.176e-05/0.1077, allocations: 16 kB / 496 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.1077, allocations: 19.92 kB / 496 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.914e-05/0.1078, allocations: 63.61 kB / 496.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.108, allocations: 139.4 kB / 496.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.108, allocations: 0 / 496.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.108, allocations: 0 / 496.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.108, allocations: 0 / 496.2 MB, free: 4.219 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.0006277/0.1086, allocations: 377.6 kB / 496.6 MB, free: 3.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1086, allocations: 8.031 kB / 496.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.1087, allocations: 38.75 kB / 496.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1087, allocations: 24.83 kB / 496.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1089, allocations: 143 kB / 496.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.109, allocations: 8.375 kB / 496.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.109, allocations: 8.375 kB / 496.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.1093, allocations: 126 kB / 496.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1093, allocations: 4 kB / 496.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1093, allocations: 4 kB / 496.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1093, allocations: 4 kB / 496.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.1095, allocations: 63.89 kB / 497 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.1103, allocations: 483.7 kB / 497.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1105, allocations: 66.48 kB / 497.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1106, allocations: 32.97 kB / 497.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1106, allocations: 4 kB / 497.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1106, allocations: 38.55 kB / 497.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1106, allocations: 0 / 497.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004234/0.1111, allocations: 125.5 kB / 497.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1111, allocations: 51.41 kB / 497.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1113, allocations: 182.9 kB / 498 MB, free: 2.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1113, allocations: 29.7 kB / 498 MB, free: 2.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/0.1114, allocations: 116 kB / 498.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.1114, allocations: 31.72 kB / 498.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.1115, allocations: 29.67 kB / 498.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1116, allocations: 326.8 kB / 498.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1117, allocations: 35.91 kB / 498.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1119, allocations: 54.55 kB / 498.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1121, allocations: 98.47 kB / 498.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1121, allocations: 0 / 498.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002957/0.1124, allocations: 129.5 kB / 498.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1124, allocations: 19.94 kB / 498.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1124, allocations: 0 / 498.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1124, allocations: 0 / 498.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.1126, allocations: 31.97 kB / 498.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1126, allocations: 4 kB / 498.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.1127, allocations: 15.88 kB / 498.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1127, allocations: 8 kB / 498.9 MB, free: 1.332 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 0.0001071/0.1128, allocations: 117.8 kB / 499 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.1129, allocations: 19.84 kB / 499 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.1129, allocations: 21.39 kB / 499 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1129, allocations: 0 / 499 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1129, allocations: 4 kB / 499 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1129, allocations: 0 / 499 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.1135, allocations: 370.6 kB / 499.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1135, allocations: 4.062 kB / 499.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.1137, allocations: 36 kB / 499.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1137, allocations: 0 / 499.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1137, allocations: 8 kB / 499.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.1149, allocations: 1.297 MB / 0.489 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1149, allocations: 0 / 0.489 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.1153, allocations: 236.3 kB / 0.4892 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.1153, allocations: 19.92 kB / 0.4892 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1154, allocations: 4 kB / 0.4892 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1155, allocations: 7.938 kB / 0.4892 GB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1155, allocations: 3.984 kB / 0.4893 GB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1155, allocations: 4 kB / 0.4893 GB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1156, allocations: 135.2 kB / 0.4894 GB, free: 14.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1156, allocations: 0 / 0.4894 GB, free: 14.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1159, allocations: 23.94 kB / 0.4894 GB, free: 14.85 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.0007029/0.1166, allocations: 0.7718 MB / 0.4902 GB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.1168, allocations: 75.89 kB / 0.4902 GB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1169, allocations: 4 kB / 0.4902 GB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.117, allocations: 39.91 kB / 0.4903 GB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.1175, allocations: 64.06 kB / 0.4903 GB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.1198, allocations: 1.806 MB / 0.4921 GB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1201, allocations: 0.7119 MB / 0.4928 GB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.288e-05/0.1202, allocations: 12.97 kB / 0.4928 GB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.1203, allocations: 39.36 kB / 0.4928 GB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1203, allocations: 4 kB / 0.4928 GB, free: 11.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.1505, allocations: 3.267 MB / 0.496 GB, free: 8.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.26, allocations: 15.17 kB / 0.4961 GB, free: 8.066 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=1000 --stepSize=2 --timeout=50 --tolerance=1e-06 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.03252490493469] Failed to read output from testmodel.py, exit status != 0: 11.361321836011484 11.55894311 11.448383099 Calling exit ...