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.0017/0.0017, 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.002023/0.002023, allocations: 211.3 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.031 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.01534/0.01534, allocations: 1.337 MB / 313.8 MB, free: 1.895 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: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") [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.00216/0.00216, allocations: 63.91 kB / 439.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.105, allocations: 53.69 MB / 493.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.00347/0.1085, allocations: 1.693 MB / 495.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1098, allocations: 0.5884 MB / 495.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.1099, allocations: 3.938 kB / 495.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.1101, allocations: 15.81 kB / 495.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.065e-05/0.1102, allocations: 23.78 kB / 495.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.1105, allocations: 95.81 kB / 496 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1107, allocations: 119.5 kB / 496.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1109, allocations: 33.23 kB / 496.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.1109, allocations: 47.78 kB / 496.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1111, allocations: 47.72 kB / 496.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.1111, allocations: 8 kB / 496.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.1111, allocations: 12 kB / 496.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.1111, allocations: 23.86 kB / 496.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.1112, allocations: 51.73 kB / 496.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1114, allocations: 111.5 kB / 496.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1114, allocations: 0 / 496.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1114, allocations: 4 kB / 496.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1114, allocations: 0 / 496.4 MB, free: 3.977 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.0006099/0.112, allocations: 349.7 kB / 496.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1121, allocations: 12.03 kB / 496.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1121, allocations: 16.84 kB / 496.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1124, allocations: 156.5 kB / 497 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1124, allocations: 8.375 kB / 497 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.1124, allocations: 12.36 kB / 497 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1126, allocations: 112.5 kB / 497.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1126, allocations: 0 / 497.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1126, allocations: 0 / 497.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1126, allocations: 4 kB / 497.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.1127, allocations: 35.92 kB / 497.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000763/0.1135, allocations: 0.5155 MB / 497.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1136, allocations: 46.56 kB / 497.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.1136, allocations: 20.83 kB / 497.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1137, allocations: 0 / 497.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1137, allocations: 42.5 kB / 497.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1137, allocations: 0 / 497.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000227/0.1139, allocations: 73.61 kB / 497.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.114, allocations: 51.41 kB / 497.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1142, allocations: 188.1 kB / 498.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.1142, allocations: 25.7 kB / 498.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.1143, allocations: 116 kB / 498.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.1143, allocations: 15.84 kB / 498.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.1144, allocations: 37.7 kB / 498.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1145, allocations: 322.8 kB / 498.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.1146, allocations: 20 kB / 498.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.1146, allocations: 59.34 kB / 498.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1148, allocations: 71.44 kB / 498.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1148, allocations: 3.938 kB / 498.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001896/0.1149, allocations: 125.4 kB / 498.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.115, allocations: 4 kB / 498.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.115, allocations: 3.938 kB / 498.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.115, allocations: 4 kB / 498.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1151, allocations: 27.98 kB / 498.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.1151, allocations: 8.031 kB / 498.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.1152, allocations: 15.89 kB / 498.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1152, allocations: 4 kB / 498.9 MB, free: 1.285 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.0001115/0.1153, allocations: 117.8 kB / 499 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.1154, allocations: 11.91 kB / 499 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.1154, allocations: 20.95 kB / 499.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1154, allocations: 0 / 499.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1154, allocations: 0 / 499.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1154, allocations: 3.938 kB / 499.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.1158, allocations: 326.4 kB / 499.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1158, allocations: 0 / 499.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.116, allocations: 19.98 kB / 499.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.116, allocations: 240 / 499.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.116, allocations: 4 kB / 499.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.1172, allocations: 1.301 MB / 0.489 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1172, allocations: 3.938 kB / 0.489 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.1174, allocations: 188.4 kB / 0.4892 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1175, allocations: 15.94 kB / 0.4892 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1175, allocations: 3.984 kB / 0.4892 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.1176, allocations: 0 / 0.4892 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.1176, allocations: 7.938 kB / 0.4892 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1176, allocations: 0 / 0.4892 GB, free: 15.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1177, allocations: 143.5 kB / 0.4893 GB, free: 14.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1177, allocations: 0 / 0.4893 GB, free: 14.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.118, allocations: 27.94 kB / 0.4893 GB, free: 14.91 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.0001109/0.1181, allocations: 95.25 kB / 0.4894 GB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.1183, allocations: 55.86 kB / 0.4895 GB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1183, allocations: 0 / 0.4895 GB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1184, allocations: 28.17 kB / 0.4895 GB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.1188, allocations: 42.72 kB / 0.4896 GB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.1195, allocations: 303.9 kB / 0.4898 GB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1198, allocations: 0.7079 MB / 0.4905 GB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.1199, allocations: 8.984 kB / 0.4905 GB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.1199, allocations: 19.42 kB / 0.4906 GB, free: 13.6 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1199, allocations: 0 / 0.4906 GB, free: 13.6 MB / 366.1 MB Notification: Performance of Templates: time 0.00483/0.1248, allocations: 1.296 MB / 0.4918 GB, free: 12.35 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.makefile [Timeout 660] (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 & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.946525726933032] Failed to read output from testmodel.py, exit status != 0: 0.1335716638714075 0.361519812 0.034356611 Calling exit ...