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 -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.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.0008587/0.0008588, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004511/0.004511, allocations: 174 kB / 16.27 MB, free: 6.613 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.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.006845/0.006845, allocations: 1.313 MB / 292.7 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002435/0.0002435, allocations: 8 kB / 356.9 MB, free: 15.07 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1981, allocations: 50.72 MB / 407.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.001558/0.1997, allocations: 1.395 MB / 409.1 MB, free: 11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.2004, allocations: 0.5259 MB / 409.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.2005, allocations: 2.406 kB / 409.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2007, allocations: 13.38 kB / 409.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.2007, allocations: 25.69 kB / 409.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.2009, allocations: 75.56 kB / 409.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.2011, allocations: 117.8 kB / 409.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2012, allocations: 47.42 kB / 409.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.2013, allocations: 34 kB / 409.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.2013, allocations: 38.47 kB / 409.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.2014, allocations: 4.469 kB / 409.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.2014, allocations: 4.344 kB / 409.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.2014, allocations: 17.88 kB / 410 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.2015, allocations: 74.56 kB / 410 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.2016, allocations: 107.3 kB / 410.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.2016, allocations: 1.25 kB / 410.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2016, allocations: 0 / 410.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2016, allocations: 4 kB / 410.1 MB, free: 10.32 MB / 286.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.0003505/0.202, allocations: 402.6 kB / 410.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.202, allocations: 8.312 kB / 410.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.202, allocations: 21.52 kB / 410.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.2022, allocations: 204.6 kB / 410.8 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.2022, allocations: 4 kB / 410.8 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.2022, allocations: 9.781 kB / 410.8 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.2024, allocations: 110.4 kB / 410.9 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2024, allocations: 0.75 kB / 410.9 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2024, allocations: 5.812 kB / 410.9 MB, free: 9.598 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2024, allocations: 1.781 kB / 410.9 MB, free: 9.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.429e-05/0.2025, allocations: 31.19 kB / 410.9 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.203, allocations: 0.5557 MB / 411.5 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.614e-05/0.2031, allocations: 49.42 kB / 411.5 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.2031, allocations: 22.31 kB / 411.5 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.2032, allocations: 0 / 411.5 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.2032, allocations: 32.48 kB / 411.6 MB, free: 8.996 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2032, allocations: 0 / 411.6 MB, free: 8.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001626/0.2033, allocations: 77.42 kB / 411.7 MB, free: 8.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/0.2034, allocations: 53.16 kB / 411.7 MB, free: 8.879 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2035, allocations: 181.5 kB / 411.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.2035, allocations: 28.09 kB / 411.9 MB, free: 8.715 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.2036, allocations: 117.5 kB / 412 MB, free: 8.605 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.2036, allocations: 18.44 kB / 412 MB, free: 8.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.2036, allocations: 21.62 kB / 412.1 MB, free: 8.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.2037, allocations: 322.2 kB / 412.4 MB, free: 8.254 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.2037, allocations: 21.89 kB / 412.4 MB, free: 8.246 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.2038, allocations: 58.52 kB / 412.5 MB, free: 8.199 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.977e-05/0.2038, allocations: 74.38 kB / 412.5 MB, free: 8.141 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2038, allocations: 1 kB / 412.5 MB, free: 8.141 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001433/0.204, allocations: 123.3 kB / 412.7 MB, free: 8.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.204, allocations: 7.156 kB / 412.7 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.204, allocations: 5.125 kB / 412.7 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.204, allocations: 1.094 kB / 412.7 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.2042, allocations: 31.72 kB / 412.7 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.2042, allocations: 1.578 kB / 412.7 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.2042, allocations: 15.34 kB / 412.7 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.2042, allocations: 4 kB / 412.7 MB, free: 8.051 MB / 286.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.351e-05/0.2043, allocations: 124.1 kB / 412.8 MB, free: 7.926 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.2043, allocations: 8.938 kB / 412.8 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.2044, allocations: 16.91 kB / 412.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2044, allocations: 1.469 kB / 412.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2044, allocations: 3.938 kB / 412.9 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.2044, allocations: 8.875 kB / 412.9 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.2046, allocations: 348.6 kB / 413.2 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2046, allocations: 0 / 413.2 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.2048, allocations: 21.95 kB / 413.2 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2048, allocations: 1.094 kB / 413.2 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2048, allocations: 5.781 kB / 413.2 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005609/0.2054, allocations: 1.307 MB / 414.6 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2054, allocations: 0 / 414.6 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.2055, allocations: 182.6 kB / 414.7 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.2056, allocations: 90.67 kB / 414.8 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2056, allocations: 1.25 kB / 414.8 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.2057, allocations: 5.844 kB / 414.8 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.2057, allocations: 7.531 kB / 414.8 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.2057, allocations: 1 kB / 414.8 MB, free: 5.918 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.2058, allocations: 133 kB / 415 MB, free: 5.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2058, allocations: 0 / 415 MB, free: 5.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.206, allocations: 26.34 kB / 415 MB, free: 5.816 MB / 286.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.372e-05/0.2061, allocations: 101 kB / 415.1 MB, free: 5.727 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.2062, allocations: 58.66 kB / 415.1 MB, free: 5.707 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.2062, allocations: 0 / 415.1 MB, free: 5.707 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.2063, allocations: 23.44 kB / 415.2 MB, free: 5.703 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.2067, allocations: 38.08 kB / 415.2 MB, free: 5.691 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.2071, allocations: 365.9 kB / 415.6 MB, free: 5.418 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.2072, allocations: 0.7104 MB / 416.3 MB, free: 4.715 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.328e-05/0.2073, allocations: 11 kB / 416.3 MB, free: 4.715 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.2073, allocations: 12.94 kB / 416.3 MB, free: 4.707 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2073, allocations: 0 / 416.3 MB, free: 4.707 MB / 286.1 MB Notification: Performance of Templates: time 0.003493/0.2108, allocations: 1.149 MB / 417.4 MB, free: 4.598 MB / 286.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 -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1)