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.0007693/0.0007695, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00453/0.00453, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.006966/0.006966, allocations: 1.315 MB / 292.7 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002606, allocations: 8 kB / 357.6 MB, free: 14.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2054, allocations: 50.7 MB / 408.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.001298/0.2068, allocations: 1.424 MB / 409.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.2074, allocations: 0.5286 MB / 410.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.2075, allocations: 2.656 kB / 410.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.2076, allocations: 14.28 kB / 410.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.2076, allocations: 21.52 kB / 410.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.2078, allocations: 75.84 kB / 410.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.208, allocations: 144 kB / 410.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2081, allocations: 40.16 kB / 410.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.162e-05/0.2082, allocations: 43.08 kB / 410.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.2083, allocations: 43.22 kB / 410.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.2083, allocations: 4.906 kB / 410.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.2083, allocations: 4.5 kB / 410.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.2083, allocations: 18.47 kB / 410.7 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.2084, allocations: 82.97 kB / 410.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.2085, allocations: 111.9 kB / 410.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2085, allocations: 3.938 kB / 410.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2085, allocations: 0 / 410.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2085, allocations: 0 / 410.9 MB, free: 10.49 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003589/0.2089, allocations: 413.6 kB / 411.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.2089, allocations: 13.38 kB / 411.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.209, allocations: 10.84 kB / 411.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.2091, allocations: 206.5 kB / 411.5 MB, free: 9.863 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2092, allocations: 9.156 kB / 411.5 MB, free: 9.859 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.2092, allocations: 10.56 kB / 411.5 MB, free: 9.855 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.2093, allocations: 103.5 kB / 411.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.2093, allocations: 0 / 411.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2094, allocations: 12.98 kB / 411.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2094, allocations: 2.062 kB / 411.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/0.2095, allocations: 44.94 kB / 411.7 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.21, allocations: 0.491 MB / 412.2 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.901e-05/0.2101, allocations: 63.11 kB / 412.3 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.2102, allocations: 25.61 kB / 412.3 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.2102, allocations: 1.125 kB / 412.3 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.2102, allocations: 32.33 kB / 412.3 MB, free: 9.238 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2102, allocations: 4 kB / 412.3 MB, free: 9.234 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001724/0.2104, allocations: 85.78 kB / 412.4 MB, free: 9.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.2104, allocations: 60 kB / 412.5 MB, free: 9.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2105, allocations: 161.6 kB / 412.6 MB, free: 8.984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.2105, allocations: 34.92 kB / 412.7 MB, free: 8.945 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.2106, allocations: 122.8 kB / 412.8 MB, free: 8.832 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.2106, allocations: 24.41 kB / 412.8 MB, free: 8.812 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.2106, allocations: 18.39 kB / 412.8 MB, free: 8.793 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.653e-05/0.2107, allocations: 325.2 kB / 413.1 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.2107, allocations: 17.67 kB / 413.1 MB, free: 8.469 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.964e-05/0.2108, allocations: 52.8 kB / 413.2 MB, free: 8.422 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.2108, allocations: 65.78 kB / 413.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2108, allocations: 4 kB / 413.3 MB, free: 8.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001256/0.211, allocations: 110 kB / 413.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.211, allocations: 6.062 kB / 413.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.211, allocations: 6.078 kB / 413.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.211, allocations: 1.875 kB / 413.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.2112, allocations: 39.09 kB / 413.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005581/0.2118, allocations: 1.304 MB / 414.7 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.2119, allocations: 10.09 kB / 414.7 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2119, allocations: 3 kB / 414.7 MB, free: 6.926 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 (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 5.617e-05/0.2119, allocations: 132.9 kB / 414.9 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.212, allocations: 8.156 kB / 414.9 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.212, allocations: 14.3 kB / 414.9 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.212, allocations: 4.609 kB / 414.9 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.212, allocations: 5.203 kB / 414.9 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.212, allocations: 1.188 kB / 414.9 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.2123, allocations: 378.4 kB / 415.3 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2123, allocations: 5.062 kB / 415.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.2125, allocations: 31.78 kB / 415.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2125, allocations: 1.219 kB / 415.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.2125, allocations: 1.25 kB / 415.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004865/0.213, allocations: 1.307 MB / 416.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.213, allocations: 0 / 416.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.2132, allocations: 200.3 kB / 416.8 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.2132, allocations: 95.55 kB / 416.9 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.2132, allocations: 1.406 kB / 416.9 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.2133, allocations: 5.219 kB / 416.9 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.2133, allocations: 4.328 kB / 416.9 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.2133, allocations: 6.062 kB / 416.9 MB, free: 4.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.2134, allocations: 123 kB / 417 MB, free: 4.68 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2134, allocations: 0 / 417 MB, free: 4.68 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.2136, allocations: 23.88 kB / 417.1 MB, free: 4.676 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 (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 6.419e-05/0.2137, allocations: 105.1 kB / 417.2 MB, free: 4.582 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.2139, allocations: 64.8 kB / 417.2 MB, free: 4.562 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2139, allocations: 0.9688 kB / 417.2 MB, free: 4.562 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.619e-05/0.214, allocations: 32.27 kB / 417.3 MB, free: 4.555 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.2144, allocations: 44.48 kB / 417.3 MB, free: 4.535 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.2149, allocations: 391.8 kB / 417.7 MB, free: 4.254 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.215, allocations: 0.7102 MB / 418.4 MB, free: 3.555 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.81e-05/0.215, allocations: 13.17 kB / 418.4 MB, free: 3.551 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.2151, allocations: 15.06 kB / 418.4 MB, free: 3.543 MB / 286.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2151, allocations: 0 / 418.4 MB, free: 3.543 MB / 286.1 MB Notification: Performance of Templates: time 0.003426/0.2185, allocations: 1.215 MB / 419.6 MB, free: 3.441 MB / 286.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)