Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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.001393/0.001393, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001518/0.001518, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.451/1.451, 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.008095/0.008095, allocations: 1.337 MB / 314.5 MB, free: 1.871 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.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") [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.001969/0.001969, allocations: 71.91 kB / 440.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1083, allocations: 53.68 MB / 494.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003246/0.1115, allocations: 1.662 MB / 496 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1127, allocations: 0.5727 MB / 496.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.1128, allocations: 0 / 496.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.1129, allocations: 19.8 kB / 496.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.113, allocations: 23.78 kB / 496.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1132, allocations: 75.91 kB / 496.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.1134, allocations: 111.6 kB / 496.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1136, allocations: 33.45 kB / 496.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.666e-05/0.1136, allocations: 39.8 kB / 496.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.1137, allocations: 35.78 kB / 496.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1137, allocations: 8 kB / 496.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.1138, allocations: 12 kB / 496.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.1138, allocations: 11.94 kB / 496.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.1138, allocations: 55.61 kB / 497 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.114, allocations: 91.56 kB / 497.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.114, allocations: 0 / 497.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.114, allocations: 3.938 kB / 497.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.114, allocations: 0 / 497.1 MB, free: 4.078 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005259/0.1145, allocations: 329.9 kB / 497.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1146, allocations: 12.03 kB / 497.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.1146, allocations: 16.83 kB / 497.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1148, allocations: 142.9 kB / 497.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1148, allocations: 4.375 kB / 497.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1149, allocations: 12.12 kB / 497.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.115, allocations: 92.19 kB / 497.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.115, allocations: 0 / 497.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.1151, allocations: 15.97 kB / 497.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1151, allocations: 0 / 497.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.1151, allocations: 31.98 kB / 497.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.1158, allocations: 496 kB / 498.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.399e-05/0.1159, allocations: 34.52 kB / 498.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.1159, allocations: 20.94 kB / 498.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.1159, allocations: 0 / 498.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.116, allocations: 42.5 kB / 498.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.116, allocations: 3.938 kB / 498.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001749/0.1162, allocations: 61.53 kB / 498.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1162, allocations: 51.41 kB / 498.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.1164, allocations: 178.7 kB / 498.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1164, allocations: 33.7 kB / 498.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.1165, allocations: 119.9 kB / 498.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.1165, allocations: 7.906 kB / 498.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.1165, allocations: 37.7 kB / 498.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1167, allocations: 322.8 kB / 499.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.1167, allocations: 20 kB / 499.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.1168, allocations: 75.72 kB / 499.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.117, allocations: 107.6 kB / 499.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.117, allocations: 0 / 499.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002027/0.1172, allocations: 133.4 kB / 499.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1172, allocations: 7.938 kB / 499.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1172, allocations: 4 kB / 499.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1172, allocations: 8.219 kB / 499.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1173, allocations: 27.92 kB / 499.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1173, allocations: 4 kB / 499.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/0.1174, allocations: 11.89 kB / 499.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1174, allocations: 11.98 kB / 499.5 MB, free: 1.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 16 * 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 9.982e-05/0.1175, allocations: 121.8 kB / 499.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.1175, allocations: 11.89 kB / 499.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.1176, allocations: 12.97 kB / 499.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1176, allocations: 4 kB / 499.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1176, allocations: 4 kB / 499.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1176, allocations: 0 / 499.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.1179, allocations: 302.3 kB / 500 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1179, allocations: 0 / 500 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/0.118, allocations: 16 kB / 500 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.118, allocations: 0 / 500 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.118, allocations: 3.984 kB / 500 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.118, allocations: 0 / 500 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.118, allocations: 64 / 500 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1182, allocations: 172.5 kB / 0.4884 GB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.1182, allocations: 15.98 kB / 0.4884 GB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1182, allocations: 7.938 kB / 0.4884 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.1183, allocations: 3.984 kB / 0.4885 GB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.1183, allocations: 0 / 0.4885 GB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1183, allocations: 4 kB / 0.4885 GB, free: 0.6484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1184, allocations: 127.3 kB / 0.4886 GB, free: 0.5234 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1184, allocations: 0 / 0.4886 GB, free: 0.5234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1186, allocations: 23.95 kB / 0.4886 GB, free: 0.5 MB / 350.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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001012/0.1188, allocations: 95.25 kB / 0.4887 GB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.1189, allocations: 55.84 kB / 0.4887 GB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1189, allocations: 448 / 0.4887 GB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.1189, allocations: 12 kB / 0.4888 GB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.1194, allocations: 42.38 kB / 0.4888 GB, free: 300 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.1199, allocations: 300.3 kB / 0.4891 GB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1203, allocations: 0.6963 MB / 0.4898 GB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.1203, allocations: 15.44 kB / 0.4898 GB, free: 15.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1203, allocations: 0 / 0.4898 GB, free: 15.23 MB / 366.1 MB Notification: Performance of Templates: time 0.00306/0.1234, allocations: 1.28 MB / 0.491 GB, free: 13.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.127961665159091] Failed to read output from testmodel.py, exit status != 0: 0.13116925000213087 0.339223682 0.028972192 Calling exit ...