Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_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.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007063/0.0007063, allocations: 90.52 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.003724/0.003724, allocations: 171.1 kB / 16.26 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.264/1.264, 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.007012/0.007012, allocations: 1.312 MB / 292.7 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002543, allocations: 8 kB / 357 MB, free: 15.07 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2018, allocations: 50.71 MB / 407.7 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD): time 0.001571/0.2034, allocations: 1.695 MB / 409.4 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006303/0.2041, allocations: 0.5484 MB / 409.9 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.2041, allocations: 6.656 kB / 409.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.2043, allocations: 13.11 kB / 409.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-05/0.2043, allocations: 27.5 kB / 409.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.2045, allocations: 88.05 kB / 410 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.2047, allocations: 200.5 kB / 410.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2048, allocations: 57.31 kB / 410.3 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.627e-05/0.2049, allocations: 55.91 kB / 410.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.205, allocations: 52.89 kB / 410.4 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.205, allocations: 10.31 kB / 410.4 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/0.205, allocations: 9.219 kB / 410.4 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.2051, allocations: 20.72 kB / 410.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.2051, allocations: 91.09 kB / 410.5 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.2053, allocations: 135.8 kB / 410.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2053, allocations: 5.125 kB / 410.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2053, allocations: 4 kB / 410.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2053, allocations: 0 / 410.7 MB, free: 10.02 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004252/0.2057, allocations: 444.2 kB / 411.1 MB, free: 9.602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.2057, allocations: 9.75 kB / 411.1 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.2058, allocations: 17.44 kB / 411.1 MB, free: 9.594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.206, allocations: 217.1 kB / 411.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.206, allocations: 10.8 kB / 411.3 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.206, allocations: 20.19 kB / 411.4 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.2062, allocations: 127.7 kB / 411.5 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2062, allocations: 1.094 kB / 411.5 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2063, allocations: 1.594 kB / 411.5 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2063, allocations: 2.562 kB / 411.5 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.2064, allocations: 77.16 kB / 411.6 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.207, allocations: 0.5419 MB / 412.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.2072, allocations: 94.88 kB / 412.2 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.597e-05/0.2073, allocations: 39.31 kB / 412.2 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2073, allocations: 4.938 kB / 412.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.2073, allocations: 40.47 kB / 412.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2073, allocations: 0 / 412.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002716/0.2076, allocations: 132.9 kB / 412.4 MB, free: 8.621 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.2076, allocations: 52.66 kB / 412.5 MB, free: 8.559 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2077, allocations: 180.7 kB / 412.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.2077, allocations: 30.83 kB / 412.7 MB, free: 8.395 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.2078, allocations: 129.9 kB / 412.8 MB, free: 8.277 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.2078, allocations: 34.53 kB / 412.8 MB, free: 8.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.2079, allocations: 22.39 kB / 412.9 MB, free: 8.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.687e-05/0.2079, allocations: 322 kB / 413.2 MB, free: 7.914 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.208, allocations: 37.67 kB / 413.2 MB, free: 7.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.2081, allocations: 72.84 kB / 413.3 MB, free: 7.852 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.2082, allocations: 107.9 kB / 413.4 MB, free: 7.785 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2082, allocations: 3.938 kB / 413.4 MB, free: 7.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002169/0.2084, allocations: 164.2 kB / 413.5 MB, free: 7.695 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.2085, allocations: 110.8 kB / 413.7 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2085, allocations: 5.375 kB / 413.7 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2085, allocations: 5.203 kB / 413.7 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.2088, allocations: 56 kB / 413.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005459/0.2093, allocations: 1.3 MB / 415 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.2094, allocations: 22.16 kB / 415 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.2094, allocations: 5.484 kB / 415 MB, free: 6.188 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.062e-06/0.2094, allocations: 5.75 kB / 415.1 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001949/0.2096, allocations: 122.3 kB / 415.2 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.2096, allocations: 1.188 kB / 415.2 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-06/0.2096, allocations: 2.219 kB / 415.2 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.2098, allocations: 47.45 kB / 415.2 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004827/0.2103, allocations: 1.3 MB / 416.5 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.2104, allocations: 13.44 kB / 416.5 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.2104, allocations: 5.25 kB / 416.5 MB, free: 4.773 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 (18): * Single equations (assignments): 17 * 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 7.115e-05/0.2105, allocations: 208.4 kB / 416.7 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.2105, allocations: 13.92 kB / 416.8 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.2106, allocations: 18.38 kB / 416.8 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2106, allocations: 2 kB / 416.8 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-07/0.2106, allocations: 0 / 416.8 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2106, allocations: 1.797 kB / 416.8 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.211, allocations: 430.2 kB / 417.2 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.211, allocations: 5.156 kB / 417.2 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.2112, allocations: 32.7 kB / 417.2 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2112, allocations: 0 / 417.2 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2112, allocations: 6.594 kB / 417.2 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004796/0.2117, allocations: 1.317 MB / 418.6 MB, free: 2.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2117, allocations: 1.062 kB / 418.6 MB, free: 2.797 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.2119, allocations: 247.7 kB / 418.8 MB, free: 2.613 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.212, allocations: 97.84 kB / 418.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.212, allocations: 1.859 kB / 418.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.2121, allocations: 3.516 kB / 418.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.2121, allocations: 10.94 kB / 418.9 MB, free: 2.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2121, allocations: 3.047 kB / 418.9 MB, free: 2.504 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.311e-05/0.2122, allocations: 142.4 kB / 419.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2122, allocations: 0 / 419.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.2125, allocations: 64.16 kB / 419.1 MB, free: 2.383 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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 5.709e-05/0.2126, allocations: 106.1 kB / 419.2 MB, free: 2.289 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.213, allocations: 172.4 kB / 419.4 MB, free: 2.246 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.213, allocations: 0 / 419.4 MB, free: 2.246 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.2132, allocations: 53.25 kB / 419.4 MB, free: 2.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.2136, allocations: 42.58 kB / 419.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.2142, allocations: 482.4 kB / 420 MB, free: 1.887 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.2143, allocations: 0.7229 MB / 420.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.2144, allocations: 19.47 kB / 420.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.2144, allocations: 20.2 kB / 420.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2144, allocations: 0 / 420.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of Templates: time 0.004049/0.2185, allocations: 1.633 MB / 422.3 MB, free: 1.035 MB / 286.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_OFF_BWD.pipe 2>&1)