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.001395/0.001395, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001589/0.001589, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.98 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.008286/0.008286, allocations: 1.348 MB / 313.8 MB, free: 1.82 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.002136/0.002136, allocations: 71.89 kB / 440.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1263, allocations: 53.68 MB / 494.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.005652/0.1319, allocations: 1.689 MB / 496.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1336, allocations: 0.5689 MB / 496.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1337, allocations: 0 / 496.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.1339, allocations: 23.81 kB / 496.7 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.134, allocations: 19.78 kB / 496.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.1344, allocations: 83.84 kB / 496.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.1348, allocations: 123.6 kB / 496.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.135, allocations: 41.58 kB / 496.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.941e-05/0.1351, allocations: 47.73 kB / 497 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1352, allocations: 35.78 kB / 497 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.1353, allocations: 8 kB / 497 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.1353, allocations: 8 kB / 497 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.1353, allocations: 19.94 kB / 497 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.1354, allocations: 51.67 kB / 497.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1356, allocations: 103.5 kB / 497.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1356, allocations: 0 / 497.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1356, allocations: 0 / 497.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1357, allocations: 3.938 kB / 497.2 MB, free: 3.168 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.000779/0.1364, allocations: 337.8 kB / 497.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1365, allocations: 12.03 kB / 497.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.1366, allocations: 12.84 kB / 497.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.1369, allocations: 148.5 kB / 497.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1369, allocations: 12.38 kB / 497.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.1369, allocations: 12.12 kB / 497.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1372, allocations: 91.38 kB / 497.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1372, allocations: 4 kB / 497.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.1372, allocations: 4 kB / 497.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.1372, allocations: 0 / 497.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.1374, allocations: 35.92 kB / 497.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000963/0.1383, allocations: 451.7 kB / 498.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.1386, allocations: 50.59 kB / 498.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.1387, allocations: 21.02 kB / 498.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1387, allocations: 0 / 498.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1387, allocations: 42.44 kB / 498.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1387, allocations: 0 / 498.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002943/0.139, allocations: 73.64 kB / 498.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.1391, allocations: 55.41 kB / 498.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1393, allocations: 158.3 kB / 498.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.1393, allocations: 25.7 kB / 498.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1394, allocations: 119.9 kB / 498.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1395, allocations: 19.91 kB / 498.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/0.1395, allocations: 29.7 kB / 498.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1397, allocations: 322.8 kB / 499.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.1398, allocations: 16 kB / 499.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1399, allocations: 61.94 kB / 499.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.1401, allocations: 89.94 kB / 499.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1401, allocations: 0 / 499.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002714/0.1404, allocations: 125.5 kB / 499.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1404, allocations: 7.938 kB / 499.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1404, allocations: 4 kB / 499.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.1404, allocations: 0 / 499.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.1406, allocations: 27.98 kB / 499.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1406, allocations: 4 kB / 499.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.1407, allocations: 7.891 kB / 499.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1407, allocations: 12 kB / 499.5 MB, free: 0.5898 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 0.000165/0.1409, allocations: 117.8 kB / 499.7 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.1409, allocations: 19.83 kB / 499.7 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.141, allocations: 16.42 kB / 499.7 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.141, allocations: 4 kB / 499.7 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.141, allocations: 3.938 kB / 499.7 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.141, allocations: 320 / 499.7 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.1415, allocations: 322.3 kB / 0.4883 GB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1415, allocations: 4 kB / 0.4883 GB, free: 56 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.1417, allocations: 23.98 kB / 0.4883 GB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.1417, allocations: 8.031 kB / 0.4883 GB, free: 24 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1417, allocations: 0 / 0.4883 GB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1417, allocations: 0 / 0.4883 GB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1417, allocations: 0 / 0.4883 GB, free: 24 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.1421, allocations: 184.2 kB / 0.4885 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.1421, allocations: 15.97 kB / 0.4885 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1421, allocations: 4 kB / 0.4885 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.1422, allocations: 4.062 kB / 0.4885 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.1423, allocations: 0 / 0.4885 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1423, allocations: 4 kB / 0.4885 GB, free: 15.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1424, allocations: 115.2 kB / 0.4886 GB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1424, allocations: 0 / 0.4886 GB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000413/0.1428, allocations: 16 kB / 0.4887 GB, free: 15.67 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.0001358/0.143, allocations: 103.2 kB / 0.4888 GB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1432, allocations: 55.86 kB / 0.4888 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1432, allocations: 0 / 0.4888 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.1432, allocations: 12 kB / 0.4888 GB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.1439, allocations: 42.17 kB / 0.4889 GB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008278/0.1447, allocations: 296.6 kB / 0.4891 GB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.1451, allocations: 0.7002 MB / 0.4898 GB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.111e-05/0.1452, allocations: 16.48 kB / 0.4898 GB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.1452, allocations: 11.44 kB / 0.4899 GB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1452, allocations: 0 / 0.4899 GB, free: 14.39 MB / 366.1 MB Notification: Performance of Templates: time 0.006032/0.1513, allocations: 1.187 MB / 0.491 GB, free: 13.25 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: 4.944477831944823] Failed to read output from testmodel.py, exit status != 0: 0.16105046309530735 0.40310189500000004 0.044948518 Calling exit ...