Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.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.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 114.8 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.001296/0.001296, allocations: 201.2 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.481/1.481, allocations: 225.6 MB / 243.9 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.01553/0.01553, allocations: 1.353 MB / 298.1 MB, free: 10.31 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 64.11 kB / 418.5 MB, free: 21.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1312, allocations: 52.45 MB / 471 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003464/0.1347, allocations: 1.683 MB / 472.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1358, allocations: 0.5377 MB / 473.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.1359, allocations: 4 kB / 473.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.1361, allocations: 19.8 kB / 473.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.1361, allocations: 31.72 kB / 473.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1364, allocations: 83.83 kB / 473.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.1367, allocations: 127.5 kB / 473.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1368, allocations: 33.09 kB / 473.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.1369, allocations: 51.83 kB / 473.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.137, allocations: 47.72 kB / 473.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.137, allocations: 8 kB / 473.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.137, allocations: 8 kB / 473.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.1371, allocations: 15.94 kB / 473.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.1371, allocations: 59.61 kB / 473.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1373, allocations: 115.4 kB / 473.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.1373, allocations: 4 kB / 473.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1373, allocations: 0 / 473.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1373, allocations: 0 / 473.8 MB, free: 14.29 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.000653/0.138, allocations: 426.9 kB / 474.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.138, allocations: 11.89 kB / 474.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.1381, allocations: 20.78 kB / 474.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1383, allocations: 207.8 kB / 474.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1384, allocations: 4.375 kB / 474.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.1384, allocations: 12.36 kB / 474.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1386, allocations: 104.5 kB / 474.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1386, allocations: 4 kB / 474.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1386, allocations: 4 kB / 474.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1386, allocations: 4 kB / 474.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.696e-05/0.1387, allocations: 35.92 kB / 474.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007978/0.1395, allocations: 0.5476 MB / 475.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1396, allocations: 46.5 kB / 475.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.1397, allocations: 24.92 kB / 475.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.1397, allocations: 0 / 475.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1397, allocations: 34.56 kB / 475.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1397, allocations: 0 / 475.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002269/0.1399, allocations: 85.47 kB / 475.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.14, allocations: 51.41 kB / 475.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1402, allocations: 179.2 kB / 475.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1402, allocations: 25.7 kB / 475.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/0.1403, allocations: 112.1 kB / 475.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.1403, allocations: 23.84 kB / 475.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.1404, allocations: 33.7 kB / 475.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1405, allocations: 318.8 kB / 476.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.1406, allocations: 31.98 kB / 476.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.1406, allocations: 55.42 kB / 476.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1407, allocations: 71.31 kB / 476.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1407, allocations: 0 / 476.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001765/0.1409, allocations: 121.5 kB / 476.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1409, allocations: 4 kB / 476.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.141, allocations: 8.125 kB / 476.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.141, allocations: 0 / 476.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1411, allocations: 31.98 kB / 476.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1411, allocations: 0 / 476.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.1412, allocations: 19.83 kB / 476.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1412, allocations: 4 kB / 476.4 MB, free: 11.41 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 (15): * Single equations (assignments): 15 * 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.0001185/0.1413, allocations: 134.4 kB / 476.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1413, allocations: 11.95 kB / 476.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.1414, allocations: 16.86 kB / 476.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1414, allocations: 0 / 476.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1414, allocations: 7.938 kB / 476.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1414, allocations: 0 / 476.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.1418, allocations: 347.3 kB / 476.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1418, allocations: 0 / 476.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.142, allocations: 28.02 kB / 477 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.142, allocations: 4 kB / 477 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.142, allocations: 0 / 477 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.1432, allocations: 1.397 MB / 478.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1432, allocations: 3.938 kB / 478.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.1434, allocations: 180.4 kB / 478.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.1435, allocations: 93.08 kB / 478.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1435, allocations: 4 kB / 478.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.1436, allocations: 0 / 478.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1436, allocations: 15.81 kB / 478.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.1436, allocations: 0 / 478.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1437, allocations: 132.3 kB / 478.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1437, allocations: 0 / 478.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.144, allocations: 20 kB / 478.8 MB, free: 8.785 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 (4): * Single equations (assignments): 3 * 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.0001165/0.1441, allocations: 103.3 kB / 478.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1442, allocations: 51.88 kB / 479 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1442, allocations: 0 / 479 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1444, allocations: 23.98 kB / 479 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.1448, allocations: 42.73 kB / 479 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.1455, allocations: 307.2 kB / 479.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1459, allocations: 0.7041 MB / 480 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.1459, allocations: 8.875 kB / 480 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.1459, allocations: 15.44 kB / 480.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1459, allocations: 0 / 480.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of Templates: time 0.00648/0.1524, allocations: 1.276 MB / 481.3 MB, free: 6.254 MB / 350.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1)