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 -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.001677/0.001677, allocations: 113.2 kB / 16.45 MB, free: 5.641 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.001815/0.001815, allocations: 203.4 kB / 17.44 MB, free: 5.02 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.45/1.45, allocations: 225.6 MB / 243.8 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008862/0.008862, allocations: 1.346 MB / 298.1 MB, free: 10.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 63.91 kB / 419.3 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1297, allocations: 52.45 MB / 471.8 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.002961/0.1327, allocations: 1.702 MB / 473.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.1336, allocations: 0.5454 MB / 474 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.1337, allocations: 4 kB / 474 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.1339, allocations: 15.8 kB / 474 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.1339, allocations: 31.72 kB / 474 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1342, allocations: 91.81 kB / 474.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1344, allocations: 143.5 kB / 474.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1346, allocations: 41.78 kB / 474.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.1346, allocations: 51.73 kB / 474.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1348, allocations: 55.7 kB / 474.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.1348, allocations: 8 kB / 474.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.015e-05/0.1348, allocations: 12 kB / 474.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.1348, allocations: 15.92 kB / 474.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.1349, allocations: 59.61 kB / 474.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1351, allocations: 119.5 kB / 474.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1351, allocations: 0 / 474.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1351, allocations: 4 kB / 474.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1351, allocations: 0 / 474.6 MB, free: 13.46 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.0005913/0.1357, allocations: 438.8 kB / 475.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1357, allocations: 11.89 kB / 475.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.1358, allocations: 20.84 kB / 475.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.136, allocations: 213.6 kB / 475.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.136, allocations: 4.375 kB / 475.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1361, allocations: 12.38 kB / 475.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1363, allocations: 115.6 kB / 475.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1363, allocations: 0 / 475.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1363, allocations: 4 kB / 475.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1363, allocations: 0 / 475.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1364, allocations: 47.58 kB / 475.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.1372, allocations: 492.6 kB / 476 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1373, allocations: 62.5 kB / 476 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.1374, allocations: 20.97 kB / 476.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1374, allocations: 0 / 476.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1374, allocations: 34.56 kB / 476.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.1374, allocations: 0 / 476.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000235/0.1376, allocations: 101.5 kB / 476.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1377, allocations: 51.41 kB / 476.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.1378, allocations: 172.9 kB / 476.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1379, allocations: 25.7 kB / 476.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.138, allocations: 123.9 kB / 476.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.138, allocations: 19.84 kB / 476.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.138, allocations: 33.7 kB / 476.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1382, allocations: 314.8 kB / 476.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.844e-05/0.1382, allocations: 27.98 kB / 476.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.1383, allocations: 47.42 kB / 477 MB, free: 10.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1384, allocations: 67.38 kB / 477 MB, free: 10.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1384, allocations: 0 / 477 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001753/0.1386, allocations: 117.5 kB / 477.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1386, allocations: 4 kB / 477.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1386, allocations: 3.938 kB / 477.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1386, allocations: 4 kB / 477.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.1389, allocations: 31.98 kB / 477.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.14, allocations: 1.397 MB / 478.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.14, allocations: 12.33 kB / 478.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1401, allocations: 4 kB / 478.6 MB, free: 9.09 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.0001122/0.1402, allocations: 133.7 kB / 478.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.1402, allocations: 15.89 kB / 478.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.1402, allocations: 25.39 kB / 478.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1402, allocations: 0 / 478.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.1402, allocations: 0 / 478.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1402, allocations: 0 / 478.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.1407, allocations: 371.4 kB / 479.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1407, allocations: 3.938 kB / 479.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.1409, allocations: 31.98 kB / 479.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1409, allocations: 0 / 479.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1409, allocations: 0 / 479.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.142, allocations: 1.408 MB / 480.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.142, allocations: 0 / 480.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1422, allocations: 204.4 kB / 480.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.1423, allocations: 96.97 kB / 480.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1423, allocations: 4 kB / 480.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.1424, allocations: 4 kB / 480.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.1424, allocations: 11.92 kB / 480.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.1424, allocations: 128 / 480.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1425, allocations: 120 kB / 481 MB, free: 6.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1425, allocations: 4.062 kB / 481 MB, free: 6.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1428, allocations: 24 kB / 481.1 MB, free: 6.406 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 9.987e-05/0.1429, allocations: 95.25 kB / 481.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1431, allocations: 63.91 kB / 481.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1431, allocations: 0 / 481.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.1433, allocations: 36.17 kB / 481.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.1437, allocations: 48.31 kB / 481.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.1444, allocations: 314.9 kB / 481.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.1447, allocations: 0.708 MB / 482.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.1448, allocations: 12.55 kB / 482.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.1448, allocations: 15.44 kB / 482.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1448, allocations: 192 / 482.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of Templates: time 0.004356/0.1492, allocations: 1.351 MB / 483.7 MB, free: 3.762 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 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1)