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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) 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 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS since it seems broken on HelloWorld 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=1000,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=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.01129/0.01129, allocations: 1.327 MB / 291.3 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 67.91 kB / 355.2 MB, free: 3.641 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1202, allocations: 49.73 MB / 404.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003478/0.1238, allocations: 1.777 MB / 406.7 MB, free: 72 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.125, allocations: 0.53 MB / 407.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.1252, allocations: 4 kB / 407.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.1254, allocations: 7.922 kB / 407.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.628e-05/0.1255, allocations: 23.78 kB / 407.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.1259, allocations: 75.91 kB / 407.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.1261, allocations: 151.4 kB / 407.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.1263, allocations: 45.69 kB / 407.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.1264, allocations: 43.84 kB / 407.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1265, allocations: 51.66 kB / 407.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.1265, allocations: 4 kB / 407.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.685e-05/0.1266, allocations: 8 kB / 407.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.1266, allocations: 19.92 kB / 407.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.1267, allocations: 55.61 kB / 407.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1268, allocations: 115.6 kB / 407.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1269, allocations: 4 kB / 407.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1269, allocations: 0 / 407.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1269, allocations: 0 / 407.9 MB, free: 14.93 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.0007/0.1276, allocations: 429.2 kB / 408.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1276, allocations: 12.03 kB / 408.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.1277, allocations: 12.75 kB / 408.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.128, allocations: 212 kB / 408.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.128, allocations: 12.31 kB / 408.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.128, allocations: 12.38 kB / 408.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.1283, allocations: 107.6 kB / 408.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1283, allocations: 3.984 kB / 408.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1283, allocations: 4 kB / 408.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1283, allocations: 7.984 kB / 408.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1284, allocations: 39.98 kB / 408.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008519/0.1293, allocations: 492.7 kB / 409.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1295, allocations: 58.56 kB / 409.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.1296, allocations: 32.97 kB / 409.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.1296, allocations: 0 / 409.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1296, allocations: 30.56 kB / 409.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1296, allocations: 0 / 409.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002491/0.1299, allocations: 101.3 kB / 409.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1299, allocations: 55.41 kB / 409.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1301, allocations: 155.4 kB / 409.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1301, allocations: 33.7 kB / 409.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.1302, allocations: 115.9 kB / 409.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.1302, allocations: 27.64 kB / 409.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.1303, allocations: 25.72 kB / 409.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1304, allocations: 322.8 kB / 410.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.1305, allocations: 20.23 kB / 410.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.1306, allocations: 47.42 kB / 410.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1307, allocations: 71.38 kB / 410.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1307, allocations: 4 kB / 410.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001711/0.1309, allocations: 109.4 kB / 410.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1309, allocations: 8 kB / 410.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1309, allocations: 8.031 kB / 410.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1309, allocations: 0 / 410.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.1312, allocations: 47.86 kB / 410.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.1323, allocations: 1.302 MB / 411.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.1324, allocations: 3.906 kB / 411.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1324, allocations: 7.938 kB / 411.7 MB, free: 10.66 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.0001292/0.1326, allocations: 129.7 kB / 411.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.1326, allocations: 7.906 kB / 411.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.1326, allocations: 13.39 kB / 411.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1326, allocations: 8.094 kB / 411.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.1327, allocations: 0 / 411.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1327, allocations: 3.984 kB / 411.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.1331, allocations: 371.3 kB / 412.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1331, allocations: 3.938 kB / 412.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.1334, allocations: 31.97 kB / 412.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1334, allocations: 4 kB / 412.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1334, allocations: 32 / 412.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.1345, allocations: 1.31 MB / 413.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.1346, allocations: 4.062 kB / 413.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.1348, allocations: 196.3 kB / 413.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.1349, allocations: 92.95 kB / 413.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1349, allocations: 3.984 kB / 413.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.135, allocations: 7.938 kB / 413.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.135, allocations: 0 / 413.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1351, allocations: 12.06 kB / 413.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1352, allocations: 120.9 kB / 414 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1352, allocations: 0 / 414 MB, free: 8.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1355, allocations: 19.94 kB / 414 MB, free: 8.109 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.0001214/0.1356, allocations: 105.8 kB / 414.1 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.1359, allocations: 67.91 kB / 414.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1359, allocations: 4.188 kB / 414.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.136, allocations: 31.92 kB / 414.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.1365, allocations: 36.61 kB / 414.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007485/0.1372, allocations: 363.1 kB / 414.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1376, allocations: 0.7121 MB / 415.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.1377, allocations: 8.562 kB / 415.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.1377, allocations: 19.42 kB / 415.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1377, allocations: 192 / 415.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of Templates: time 0.004344/0.1421, allocations: 1.227 MB / 416.6 MB, free: 5.535 MB / 350.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.makefile (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 -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1)