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.001476/0.001476, allocations: 114.3 kB / 18.94 MB, free: 2.781 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.002519/0.002519, allocations: 217.5 kB / 22.25 MB, free: 5.168 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.597/1.597, 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.008432/0.008432, allocations: 1.344 MB / 313.8 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_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.003606/0.003606, allocations: 67.91 kB / 439.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1277, allocations: 53.67 MB / 493.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003765/0.1315, allocations: 1.669 MB / 495.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1328, allocations: 0.5725 MB / 495.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1329, allocations: 4 kB / 495.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.1331, allocations: 11.86 kB / 495.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.1332, allocations: 19.81 kB / 495.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1335, allocations: 79.83 kB / 495.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1337, allocations: 115.6 kB / 496 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1339, allocations: 33.47 kB / 496.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.1339, allocations: 39.8 kB / 496.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.134, allocations: 35.78 kB / 496.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.134, allocations: 8 kB / 496.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.134, allocations: 4 kB / 496.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.1341, allocations: 23.92 kB / 496.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.156e-05/0.1341, allocations: 51.67 kB / 496.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1343, allocations: 91.5 kB / 496.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1343, allocations: 4 kB / 496.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1343, allocations: 0 / 496.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1343, allocations: 0 / 496.3 MB, free: 4.039 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.0005219/0.1349, allocations: 329.8 kB / 496.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1349, allocations: 8.031 kB / 496.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1349, allocations: 12.89 kB / 496.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1351, allocations: 152.5 kB / 496.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1352, allocations: 4.375 kB / 496.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.1352, allocations: 12.12 kB / 496.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1354, allocations: 91.34 kB / 496.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1354, allocations: 0 / 496.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1354, allocations: 7.938 kB / 496.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1354, allocations: 4 kB / 496.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.206e-05/0.1355, allocations: 27.98 kB / 497 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.1362, allocations: 0.4921 MB / 497.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1363, allocations: 42.5 kB / 497.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.1363, allocations: 12.86 kB / 497.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1364, allocations: 3.984 kB / 497.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1364, allocations: 42.5 kB / 497.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1364, allocations: 0 / 497.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001894/0.1366, allocations: 57.69 kB / 497.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1366, allocations: 51.41 kB / 497.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1368, allocations: 186.6 kB / 497.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1368, allocations: 25.7 kB / 497.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.1369, allocations: 119.9 kB / 498 MB, free: 2.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.1369, allocations: 15.89 kB / 498 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.137, allocations: 33.72 kB / 498 MB, free: 2.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1372, allocations: 322.8 kB / 498.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.1372, allocations: 23.98 kB / 498.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.1373, allocations: 75.72 kB / 498.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.1375, allocations: 103.6 kB / 498.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1375, allocations: 4 kB / 498.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002074/0.1377, allocations: 129.4 kB / 498.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1377, allocations: 11.94 kB / 498.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1377, allocations: 0 / 498.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1377, allocations: 4 kB / 498.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1378, allocations: 36.14 kB / 498.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1378, allocations: 0 / 498.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.1379, allocations: 15.89 kB / 498.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1379, allocations: 8 kB / 498.7 MB, free: 1.363 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.000102/0.138, allocations: 117.8 kB / 498.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.138, allocations: 15.89 kB / 498.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.1381, allocations: 13.02 kB / 498.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1381, allocations: 0 / 498.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1381, allocations: 3.938 kB / 498.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1381, allocations: 4 kB / 498.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.1384, allocations: 310.3 kB / 499.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1384, allocations: 0 / 499.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.1385, allocations: 8 kB / 499.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1385, allocations: 0 / 499.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1385, allocations: 4.062 kB / 499.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1385, allocations: 4 kB / 499.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1385, allocations: 0 / 499.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.1387, allocations: 168.3 kB / 499.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.1387, allocations: 15.97 kB / 499.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1388, allocations: 0 / 499.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.1388, allocations: 4 kB / 499.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.1388, allocations: 0 / 499.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.1388, allocations: 3.938 kB / 499.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.139, allocations: 139.3 kB / 499.5 MB, free: 496 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.139, allocations: 0 / 499.5 MB, free: 496 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1392, allocations: 15.95 kB / 499.6 MB, free: 480 kB / 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.0001005/0.1393, allocations: 95.25 kB / 499.6 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1395, allocations: 56.14 kB / 499.7 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1395, allocations: 0 / 499.7 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.1395, allocations: 4.438 kB / 499.7 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.1399, allocations: 57.08 kB / 499.8 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.1405, allocations: 275.8 kB / 0.4883 GB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1408, allocations: 0.7002 MB / 0.489 GB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.202e-05/0.1409, allocations: 8.969 kB / 0.489 GB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.1409, allocations: 15.44 kB / 0.489 GB, free: 15.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1409, allocations: 4 kB / 0.489 GB, free: 15.2 MB / 366.1 MB Notification: Performance of Templates: time 0.004038/0.145, allocations: 1.096 MB / 0.4901 GB, free: 14.15 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: 4.770334529923275] Failed to read output from testmodel.py, exit status != 0: 0.15565774496644735 0.16995193900000002 0.032300103000000004 Calling exit ...