Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 191.9 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.00832/0.00832, allocations: 1.356 MB / 307.5 MB, free: 7.52 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 71.89 kB / 431.9 MB, free: 18.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1168, allocations: 52.44 MB / 484.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003665/0.1204, allocations: 1.715 MB / 486.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1217, allocations: 0.5533 MB / 486.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1218, allocations: 0 / 486.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.122, allocations: 19.8 kB / 486.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.1222, allocations: 31.72 kB / 486.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.1225, allocations: 91.81 kB / 486.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.1228, allocations: 147.5 kB / 486.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.123, allocations: 37.75 kB / 487 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1231, allocations: 47.78 kB / 487 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1232, allocations: 51.72 kB / 487.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.1232, allocations: 8 kB / 487.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.1232, allocations: 12 kB / 487.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.1233, allocations: 31.84 kB / 487.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.1234, allocations: 55.67 kB / 487.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1236, allocations: 119.5 kB / 487.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1236, allocations: 0 / 487.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1236, allocations: 0 / 487.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1236, allocations: 0 / 487.3 MB, free: 11.44 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007729/0.1244, allocations: 434.8 kB / 487.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1244, allocations: 19.89 kB / 487.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.1245, allocations: 12.84 kB / 487.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1248, allocations: 209.1 kB / 488 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1248, allocations: 8.359 kB / 488 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.1249, allocations: 12.31 kB / 488 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.1251, allocations: 113.9 kB / 488.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1251, allocations: 0 / 488.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1251, allocations: 0 / 488.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1251, allocations: 4 kB / 488.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1252, allocations: 51.97 kB / 488.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/0.1261, allocations: 492.5 kB / 488.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1262, allocations: 54.5 kB / 488.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.1263, allocations: 28.98 kB / 488.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.1263, allocations: 0 / 488.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1263, allocations: 34.55 kB / 488.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1263, allocations: 0 / 488.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002657/0.1266, allocations: 97.47 kB / 488.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1266, allocations: 55.41 kB / 488.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1268, allocations: 164 kB / 489 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1269, allocations: 29.7 kB / 489.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.1269, allocations: 112 kB / 489.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.127, allocations: 23.84 kB / 489.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.127, allocations: 29.67 kB / 489.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1272, allocations: 322.8 kB / 489.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.1272, allocations: 23.98 kB / 489.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.1273, allocations: 43.42 kB / 489.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1274, allocations: 71.38 kB / 489.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1274, allocations: 4 kB / 489.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001724/0.1276, allocations: 97.52 kB / 489.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.1276, allocations: 11.98 kB / 489.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1276, allocations: 8.125 kB / 489.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1276, allocations: 3.938 kB / 489.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.1279, allocations: 43.92 kB / 489.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.1292, allocations: 1.401 MB / 491.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.1293, allocations: 7.891 kB / 491.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1293, allocations: 4 kB / 491.3 MB, free: 7.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.1294, allocations: 133.4 kB / 491.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.1294, allocations: 19.91 kB / 491.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.1295, allocations: 13.39 kB / 491.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1295, allocations: 4 kB / 491.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1295, allocations: 7.922 kB / 491.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1295, allocations: 0 / 491.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.13, allocations: 371.2 kB / 491.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.13, allocations: 0 / 491.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.1302, allocations: 36 kB / 491.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.1302, allocations: 4 kB / 491.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1302, allocations: 0 / 491.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.1313, allocations: 1.404 MB / 493.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1313, allocations: 0 / 493.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1316, allocations: 196.4 kB / 493.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/0.1317, allocations: 105.2 kB / 493.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1317, allocations: 0 / 493.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.1317, allocations: 4 kB / 493.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.1318, allocations: 4 kB / 493.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1318, allocations: 4 kB / 493.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1319, allocations: 122.5 kB / 493.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1319, allocations: 4 kB / 493.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1322, allocations: 16 kB / 493.7 MB, free: 4.398 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.1323, allocations: 107.2 kB / 493.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.1326, allocations: 59.91 kB / 493.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1326, allocations: 0 / 493.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.1327, allocations: 31.92 kB / 493.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.1332, allocations: 39.84 kB / 493.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007469/0.1339, allocations: 319.9 kB / 494.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.1343, allocations: 0.7119 MB / 495 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.029e-05/0.1344, allocations: 16.47 kB / 495 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.1344, allocations: 15.44 kB / 495 MB, free: 3.047 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1344, allocations: 0 / 495 MB, free: 3.047 MB / 350.1 MB Notification: Performance of Templates: time 0.005034/0.1395, allocations: 1.362 MB / 496.3 MB, free: 1.738 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD -l=1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.530814340803772] Failed to read output from testmodel.py, exit status != 0: 0.14897272177040577 0.16589658200000001 0.038893406000000005 Calling exit ...