Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_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.001219/0.001219, allocations: 110.2 kB / 19.7 MB, free: 2.25 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.00154/0.00154, allocations: 221.4 kB / 23.01 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.00805/0.00805, allocations: 1.353 MB / 314.5 MB, free: 1.832 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_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_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.00202/0.00202, allocations: 75.89 kB / 440.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 53.67 MB / 494.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD): time 0.003172/0.1136, allocations: 1.67 MB / 496 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1147, allocations: 0.5727 MB / 496.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.1148, allocations: 0 / 496.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.1149, allocations: 19.8 kB / 496.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.496e-05/0.115, allocations: 19.8 kB / 496.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1152, allocations: 79.89 kB / 496.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1155, allocations: 131.6 kB / 496.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1156, allocations: 33.47 kB / 496.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.252e-05/0.1157, allocations: 35.84 kB / 496.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.1158, allocations: 43.72 kB / 497 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1158, allocations: 4 kB / 497 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.1158, allocations: 12 kB / 497 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.1158, allocations: 19.88 kB / 497 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.1159, allocations: 47.73 kB / 497 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.116, allocations: 87.56 kB / 497.1 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.116, allocations: 3.938 kB / 497.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.116, allocations: 4 kB / 497.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1161, allocations: 0 / 497.1 MB, free: 3.992 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.0005336/0.1166, allocations: 329.8 kB / 497.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.1166, allocations: 8.031 kB / 497.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.1167, allocations: 20.88 kB / 497.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1169, allocations: 140.4 kB / 497.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1169, allocations: 8.375 kB / 497.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1169, allocations: 12.12 kB / 497.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1171, allocations: 93.03 kB / 497.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1171, allocations: 4 kB / 497.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1171, allocations: 0 / 497.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1172, allocations: 4 kB / 497.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.785e-05/0.1172, allocations: 39.92 kB / 497.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.1179, allocations: 499.9 kB / 498.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.95e-05/0.118, allocations: 34.58 kB / 498.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.1181, allocations: 16.94 kB / 498.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1181, allocations: 3.938 kB / 498.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1181, allocations: 38.5 kB / 498.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1181, allocations: 4 kB / 498.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001884/0.1183, allocations: 61.53 kB / 498.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1183, allocations: 51.41 kB / 498.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.1185, allocations: 174.8 kB / 498.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1185, allocations: 33.69 kB / 498.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.1186, allocations: 115.9 kB / 498.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.1186, allocations: 11.91 kB / 498.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.1187, allocations: 37.7 kB / 498.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1188, allocations: 318.8 kB / 499.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.1189, allocations: 28.86 kB / 499.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.119, allocations: 83.03 kB / 499.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1191, allocations: 107.6 kB / 499.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1191, allocations: 0 / 499.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000199/0.1193, allocations: 133.4 kB / 499.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1194, allocations: 10.75 kB / 499.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1194, allocations: 8.219 kB / 499.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1194, allocations: 4 kB / 499.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1195, allocations: 23.98 kB / 499.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1195, allocations: 7.938 kB / 499.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.1196, allocations: 15.89 kB / 499.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1196, allocations: 11.98 kB / 499.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.878e-05/0.1197, allocations: 104.1 kB / 499.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.973e-05/0.1198, allocations: 79.66 kB / 499.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001228/0.1199, allocations: 107.6 kB / 499.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.1199, allocations: 0 / 499.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.000196/0.1201, allocations: 133.5 kB / 500 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.1201, allocations: 8 kB / 500 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1201, allocations: 3.938 kB / 500 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-06/0.1201, allocations: 4.219 kB / 500 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.1202, allocations: 31.92 kB / 0.4883 GB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1202, allocations: 4 kB / 0.4883 GB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/0.1202, allocations: 15.89 kB / 0.4883 GB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1203, allocations: 4 kB / 0.4883 GB, free: 0.75 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 0.000128/0.1204, allocations: 192.2 kB / 0.4885 GB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.1204, allocations: 15.83 kB / 0.4885 GB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.1204, allocations: 9.031 kB / 0.4885 GB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1204, allocations: 0 / 0.4885 GB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1204, allocations: 0 / 0.4885 GB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1204, allocations: 4.281 kB / 0.4885 GB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.1208, allocations: 310.3 kB / 0.4888 GB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1208, allocations: 0 / 0.4888 GB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/0.1209, allocations: 11.98 kB / 0.4889 GB, free: 160 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1209, allocations: 0 / 0.4889 GB, free: 160 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1209, allocations: 0 / 0.4889 GB, free: 160 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1209, allocations: 4 kB / 0.4889 GB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1209, allocations: 3.984 kB / 0.4889 GB, free: 152 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.1211, allocations: 168.4 kB / 0.489 GB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.1211, allocations: 15.88 kB / 0.489 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1211, allocations: 0 / 0.489 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.1212, allocations: 3.938 kB / 0.489 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.1212, allocations: 7.984 kB / 0.489 GB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1212, allocations: 0 / 0.489 GB, free: 15.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1213, allocations: 131.3 kB / 0.4892 GB, free: 15.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1213, allocations: 0 / 0.4892 GB, free: 15.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.1216, allocations: 32 kB / 0.4892 GB, free: 15.78 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 (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.0001076/0.1218, allocations: 99.25 kB / 0.4893 GB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.122, allocations: 92.47 kB / 0.4894 GB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.122, allocations: 192 / 0.4894 GB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.186e-05/0.122, allocations: 19.92 kB / 0.4894 GB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.1224, allocations: 47.77 kB / 0.4895 GB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005902/0.123, allocations: 298.3 kB / 0.4897 GB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1233, allocations: 0.7007 MB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.1234, allocations: 11.44 kB / 0.4904 GB, free: 14.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1234, allocations: 0 / 0.4904 GB, free: 14.45 MB / 366.1 MB Notification: Performance of Templates: time 0.003004/0.1264, allocations: 1.27 MB / 0.4917 GB, free: 13.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.124735121848062] Failed to read output from testmodel.py, exit status != 0: 0.13446688605472445 0.345803964 0.031481718 Calling exit ...