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.001796/0.001796, allocations: 100.1 kB / 16.27 MB, free: 6.414 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.001809/0.001809, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.0724/0.0724, allocations: 1.335 MB / 292.4 MB, free: 13.6 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.89 kB / 356 MB, free: 14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2123, allocations: 49.73 MB / 405.7 MB, free: 34.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.00224/0.2146, allocations: 1.67 MB / 407.3 MB, free: 33.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006783/0.2153, allocations: 0.5339 MB / 407.9 MB, free: 32.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.2154, allocations: 0 / 407.9 MB, free: 32.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.2155, allocations: 19.8 kB / 407.9 MB, free: 32.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.016e-05/0.2156, allocations: 27.72 kB / 407.9 MB, free: 32.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2158, allocations: 91.81 kB / 408 MB, free: 32.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.2159, allocations: 115.6 kB / 408.1 MB, free: 32.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.2161, allocations: 55.98 kB / 408.2 MB, free: 32.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.2161, allocations: 39.86 kB / 408.2 MB, free: 32.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.2162, allocations: 47.72 kB / 408.3 MB, free: 32.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.2162, allocations: 8 kB / 408.3 MB, free: 32.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.2163, allocations: 12 kB / 408.3 MB, free: 32.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.2163, allocations: 15.92 kB / 408.3 MB, free: 32.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.2163, allocations: 59.61 kB / 408.4 MB, free: 32.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.98e-05/0.2164, allocations: 107.6 kB / 408.5 MB, free: 32.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2165, allocations: 8 kB / 408.5 MB, free: 32.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2165, allocations: 0 / 408.5 MB, free: 32.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2165, allocations: 0 / 408.5 MB, free: 32.04 MB / 302.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.0003863/0.2169, allocations: 422.9 kB / 408.9 MB, free: 31.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.2169, allocations: 11.89 kB / 408.9 MB, free: 31.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.217, allocations: 16.75 kB / 408.9 MB, free: 31.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.2171, allocations: 204 kB / 409.1 MB, free: 31.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2171, allocations: 4.375 kB / 409.1 MB, free: 31.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.2171, allocations: 20.36 kB / 409.1 MB, free: 31.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.2173, allocations: 98.75 kB / 409.2 MB, free: 31.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2173, allocations: 0 / 409.2 MB, free: 31.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2173, allocations: 8 kB / 409.2 MB, free: 31.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2173, allocations: 3.938 kB / 409.3 MB, free: 31.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.639e-05/0.2174, allocations: 31.98 kB / 409.3 MB, free: 31.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.2179, allocations: 0.5476 MB / 409.8 MB, free: 30.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/0.218, allocations: 54.5 kB / 409.9 MB, free: 30.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.218, allocations: 28.86 kB / 409.9 MB, free: 30.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.218, allocations: 0 / 409.9 MB, free: 30.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.2181, allocations: 34.56 kB / 409.9 MB, free: 30.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.2181, allocations: 0 / 409.9 MB, free: 30.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001583/0.2182, allocations: 81.36 kB / 410 MB, free: 30.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.2183, allocations: 55.41 kB / 410.1 MB, free: 30.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2184, allocations: 175.3 kB / 410.2 MB, free: 30.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.2184, allocations: 29.7 kB / 410.3 MB, free: 30.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.2184, allocations: 115.9 kB / 410.4 MB, free: 29.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.2184, allocations: 19.75 kB / 410.4 MB, free: 29.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.2185, allocations: 29.7 kB / 410.4 MB, free: 29.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.2185, allocations: 322.8 kB / 410.8 MB, free: 29.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/0.2186, allocations: 23.98 kB / 410.8 MB, free: 29.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.2186, allocations: 55.42 kB / 410.8 MB, free: 29.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.254e-05/0.2187, allocations: 75.38 kB / 410.9 MB, free: 29.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2187, allocations: 3.938 kB / 410.9 MB, free: 29.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001313/0.2188, allocations: 121.4 kB / 411 MB, free: 29.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2189, allocations: 4 kB / 411 MB, free: 29.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2189, allocations: 3.938 kB / 411 MB, free: 29.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2189, allocations: 8.094 kB / 411 MB, free: 29.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.219, allocations: 35.92 kB / 411.1 MB, free: 29.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.219, allocations: 0 / 411.1 MB, free: 29.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.2191, allocations: 11.84 kB / 411.1 MB, free: 29.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2191, allocations: 4 kB / 411.1 MB, free: 29.16 MB / 302.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 5.508e-05/0.2192, allocations: 117.8 kB / 411.2 MB, free: 29.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.2192, allocations: 11.84 kB / 411.2 MB, free: 29.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.2192, allocations: 20.86 kB / 411.2 MB, free: 29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2192, allocations: 0 / 411.2 MB, free: 29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2193, allocations: 4 kB / 411.2 MB, free: 28.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2193, allocations: 0 / 411.2 MB, free: 28.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.2195, allocations: 355.3 kB / 411.6 MB, free: 28.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2195, allocations: 3.938 kB / 411.6 MB, free: 28.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.2197, allocations: 19.98 kB / 411.6 MB, free: 28.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2197, allocations: 3.938 kB / 411.6 MB, free: 28.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.2197, allocations: 4 kB / 411.6 MB, free: 28.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006445/0.2204, allocations: 1.397 MB / 413 MB, free: 27.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2204, allocations: 7.969 kB / 413 MB, free: 27.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.2205, allocations: 176.2 kB / 413.2 MB, free: 26.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.2205, allocations: 93.28 kB / 413.3 MB, free: 26.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2206, allocations: 8.125 kB / 413.3 MB, free: 26.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.2206, allocations: 0 / 413.3 MB, free: 26.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.2207, allocations: 11.92 kB / 413.3 MB, free: 26.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.2207, allocations: 3.938 kB / 413.3 MB, free: 26.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.491e-05/0.2207, allocations: 132.3 kB / 413.4 MB, free: 26.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2207, allocations: 0 / 413.4 MB, free: 26.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.221, allocations: 23.94 kB / 413.5 MB, free: 26.54 MB / 302.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 6.825e-05/0.2211, allocations: 111.1 kB / 413.6 MB, free: 26.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.2212, allocations: 51.92 kB / 413.6 MB, free: 26.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2212, allocations: 0 / 413.6 MB, free: 26.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.2214, allocations: 35.97 kB / 413.7 MB, free: 26.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.2218, allocations: 42.48 kB / 413.7 MB, free: 26.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.2223, allocations: 321.3 kB / 414 MB, free: 25.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2224, allocations: 0.7041 MB / 414.7 MB, free: 25.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.2224, allocations: 11.44 kB / 414.7 MB, free: 25.21 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.2224, allocations: 4 kB / 414.7 MB, free: 25.2 MB / 302.1 MB Notification: Performance of Templates: time 0.002818/0.2253, allocations: 1.618 MB / 416.4 MB, free: 23.6 MB / 302.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)