Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_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.001346/0.001346, allocations: 110.2 kB / 19.69 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.00164/0.00164, allocations: 216.5 kB / 23.01 MB, free: 4.566 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.008034/0.008034, allocations: 1.348 MB / 314.5 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.NonInvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_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.003461/0.003461, allocations: 63.91 kB / 441.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1344, allocations: 53.68 MB / 495.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003291/0.1377, allocations: 1.689 MB / 496.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1389, allocations: 0.565 MB / 497.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.1389, allocations: 0 / 497.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.1391, allocations: 23.8 kB / 497.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.1392, allocations: 23.78 kB / 497.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1394, allocations: 83.83 kB / 497.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.1397, allocations: 127.6 kB / 497.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1398, allocations: 33.61 kB / 497.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.1399, allocations: 47.73 kB / 497.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.14, allocations: 35.78 kB / 497.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.14, allocations: 8 kB / 497.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.14, allocations: 8 kB / 497.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.1401, allocations: 27.91 kB / 497.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.1401, allocations: 51.61 kB / 497.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1403, allocations: 103.5 kB / 498 MB, free: 3.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1403, allocations: 4 kB / 498 MB, free: 3.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1403, allocations: 0 / 498 MB, free: 3.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1403, allocations: 0 / 498 MB, free: 3.23 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.0005815/0.1409, allocations: 333.8 kB / 498.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1409, allocations: 16.02 kB / 498.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.141, allocations: 12.84 kB / 498.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.1412, allocations: 138.9 kB / 498.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1412, allocations: 8.375 kB / 498.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.1413, allocations: 20.05 kB / 498.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1415, allocations: 95.38 kB / 498.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1415, allocations: 4 kB / 498.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1415, allocations: 4 kB / 498.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1415, allocations: 0 / 498.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.1416, allocations: 35.92 kB / 498.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/0.1423, allocations: 447.7 kB / 499.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1425, allocations: 50.64 kB / 499.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.1425, allocations: 16.92 kB / 499.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.1425, allocations: 4 kB / 499.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1426, allocations: 38.5 kB / 499.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1426, allocations: 4 kB / 499.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000223/0.1428, allocations: 69.64 kB / 499.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1428, allocations: 51.41 kB / 499.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.143, allocations: 166.2 kB / 499.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.143, allocations: 29.7 kB / 499.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.1431, allocations: 115.9 kB / 499.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.1431, allocations: 15.91 kB / 499.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.1432, allocations: 29.7 kB / 499.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1433, allocations: 326.8 kB / 500 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.1434, allocations: 15.94 kB / 500 MB, free: 1.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.1434, allocations: 62 kB / 0.4883 GB, free: 0.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1436, allocations: 89.94 kB / 0.4884 GB, free: 0.8477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1436, allocations: 0 / 0.4884 GB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001796/0.1437, allocations: 121.7 kB / 0.4885 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1438, allocations: 7.938 kB / 0.4885 GB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.1438, allocations: 8.156 kB / 0.4885 GB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1438, allocations: 0 / 0.4885 GB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1439, allocations: 31.98 kB / 0.4886 GB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1439, allocations: 4 kB / 0.4886 GB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.144, allocations: 7.891 kB / 0.4886 GB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.144, allocations: 12 kB / 0.4886 GB, free: 0.6523 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 9.221e-05/0.1441, allocations: 121.7 kB / 0.4887 GB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.1441, allocations: 11.89 kB / 0.4887 GB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.1441, allocations: 12.39 kB / 0.4887 GB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1441, allocations: 11.94 kB / 0.4887 GB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1441, allocations: 0 / 0.4887 GB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1441, allocations: 0 / 0.4887 GB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.1445, allocations: 330.3 kB / 0.489 GB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1445, allocations: 0 / 0.489 GB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1447, allocations: 23.98 kB / 0.4891 GB, free: 96 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1447, allocations: 4 kB / 0.4891 GB, free: 92 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.1447, allocations: 0 / 0.4891 GB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1447, allocations: 4.031 kB / 0.4891 GB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1447, allocations: 0 / 0.4891 GB, free: 88 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1449, allocations: 184.2 kB / 0.4893 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.1449, allocations: 15.97 kB / 0.4893 GB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.145, allocations: 4 kB / 0.4893 GB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.145, allocations: 0 / 0.4893 GB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.145, allocations: 0 / 0.4893 GB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.145, allocations: 8.062 kB / 0.4893 GB, free: 15.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.828e-05/0.1451, allocations: 115.2 kB / 0.4894 GB, free: 15.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1451, allocations: 0 / 0.4894 GB, free: 15.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1454, allocations: 20 kB / 0.4894 GB, free: 15.73 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 (5): * Single equations (assignments): 5 * 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.0001008/0.1455, allocations: 95.25 kB / 0.4895 GB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1456, allocations: 55.84 kB / 0.4896 GB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1456, allocations: 320 / 0.4896 GB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.1457, allocations: 16 kB / 0.4896 GB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.1461, allocations: 44.69 kB / 0.4896 GB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.1467, allocations: 318 kB / 0.4899 GB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1471, allocations: 0.7041 MB / 0.4906 GB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.1471, allocations: 11.44 kB / 0.4906 GB, free: 14.43 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1471, allocations: 0 / 0.4906 GB, free: 14.43 MB / 366.1 MB Notification: Performance of Templates: time 0.003109/0.1503, allocations: 1.307 MB / 0.4919 GB, free: 13.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD -l=1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.169596876017749] Failed to read output from testmodel.py, exit status != 0: 0.16097997990436852 0.363915565 0.03175436 Calling exit ...