Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007052/0.0007051, allocations: 97.88 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.003835/0.003836, allocations: 171.2 kB / 16.27 MB, free: 6.648 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.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.006903/0.006903, allocations: 1.312 MB / 292.7 MB, free: 0.8984 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002649, allocations: 8 kB / 357 MB, free: 15.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2005, allocations: 50.71 MB / 407.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.001522/0.2021, allocations: 1.506 MB / 409.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007065/0.2028, allocations: 0.5354 MB / 409.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.2029, allocations: 2.25 kB / 409.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.203, allocations: 13.98 kB / 409.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.2031, allocations: 26.17 kB / 409.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2033, allocations: 72.73 kB / 409.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.2035, allocations: 160 kB / 410 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2036, allocations: 42.91 kB / 410 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.2037, allocations: 38.19 kB / 410.1 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.2038, allocations: 55.45 kB / 410.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2038, allocations: 5.938 kB / 410.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.2038, allocations: 5.625 kB / 410.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.2039, allocations: 23.09 kB / 410.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.2039, allocations: 84.53 kB / 410.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.204, allocations: 120.2 kB / 410.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2041, allocations: 1.594 kB / 410.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2041, allocations: 0 / 410.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.2041, allocations: 0 / 410.3 MB, free: 10.19 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.0004464/0.2045, allocations: 434 kB / 410.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.2046, allocations: 9.812 kB / 410.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.2046, allocations: 15.5 kB / 410.8 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.2048, allocations: 205.4 kB / 411 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2048, allocations: 8.281 kB / 411 MB, free: 9.555 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.2048, allocations: 11.72 kB / 411 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.205, allocations: 134.4 kB / 411.1 MB, free: 9.465 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2051, allocations: 1.812 kB / 411.1 MB, free: 9.465 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2051, allocations: 0.5156 kB / 411.1 MB, free: 9.465 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.2051, allocations: 9.703 kB / 411.2 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.2053, allocations: 75.73 kB / 411.2 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006054/0.2059, allocations: 0.5192 MB / 411.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.2061, allocations: 74.86 kB / 411.8 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2062, allocations: 44.89 kB / 411.9 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.2062, allocations: 1.375 kB / 411.9 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.074e-05/0.2062, allocations: 32.59 kB / 411.9 MB, free: 8.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2062, allocations: 0 / 411.9 MB, free: 8.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003689/0.2066, allocations: 147.2 kB / 412 MB, free: 8.844 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.621e-05/0.2066, allocations: 51.41 kB / 412.1 MB, free: 8.781 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2068, allocations: 179.5 kB / 412.3 MB, free: 8.652 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.2068, allocations: 29.7 kB / 412.3 MB, free: 8.617 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.2068, allocations: 119.3 kB / 412.4 MB, free: 8.508 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.2068, allocations: 20.11 kB / 412.4 MB, free: 8.492 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.2069, allocations: 24.09 kB / 412.5 MB, free: 8.469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.2069, allocations: 321.2 kB / 412.8 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.207, allocations: 38.22 kB / 412.8 MB, free: 8.145 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.2071, allocations: 66.8 kB / 412.9 MB, free: 8.105 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.2074, allocations: 100.9 kB / 413 MB, free: 8.055 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2074, allocations: 4 kB / 413 MB, free: 8.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002666/0.2076, allocations: 144.3 kB / 413.1 MB, free: 7.984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2077, allocations: 5.25 kB / 413.1 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2077, allocations: 9.734 kB / 413.1 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2077, allocations: 1.625 kB / 413.1 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2078, allocations: 43.14 kB / 413.2 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2079, allocations: 2.312 kB / 413.2 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/0.2079, allocations: 15.16 kB / 413.2 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.2079, allocations: 2.75 kB / 413.2 MB, free: 7.961 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * 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.483e-05/0.208, allocations: 120.2 kB / 413.3 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.208, allocations: 17.09 kB / 413.3 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.2081, allocations: 21.64 kB / 413.3 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2081, allocations: 1.375 kB / 413.3 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2081, allocations: 0.9375 kB / 413.3 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2081, allocations: 0 / 413.3 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.2085, allocations: 417 kB / 413.8 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2085, allocations: 0.7031 kB / 413.8 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.2087, allocations: 32.25 kB / 413.8 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2087, allocations: 0.8438 kB / 413.8 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.2088, allocations: 1.969 kB / 413.8 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005592/0.2093, allocations: 1.31 MB / 415.1 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2093, allocations: 1.344 kB / 415.1 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.2097, allocations: 260.3 kB / 415.4 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.2097, allocations: 100.5 kB / 415.5 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2097, allocations: 6.047 kB / 415.5 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.2098, allocations: 8 kB / 415.5 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.2099, allocations: 9.609 kB / 415.5 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.2099, allocations: 2.156 kB / 415.5 MB, free: 5.785 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.334e-05/0.21, allocations: 130 kB / 415.6 MB, free: 5.691 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.21, allocations: 1.312 kB / 415.6 MB, free: 5.691 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.2102, allocations: 23.69 kB / 415.6 MB, free: 5.688 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.681e-05/0.2103, allocations: 105.3 kB / 415.7 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.2105, allocations: 89.2 kB / 415.8 MB, free: 5.574 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2106, allocations: 0 / 415.8 MB, free: 5.574 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.2107, allocations: 57.27 kB / 415.9 MB, free: 5.559 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2111, allocations: 33.14 kB / 415.9 MB, free: 5.551 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.2116, allocations: 398.4 kB / 416.3 MB, free: 5.262 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.2117, allocations: 0.7083 MB / 417 MB, free: 4.566 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.932e-05/0.2118, allocations: 19.47 kB / 417 MB, free: 4.555 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.2118, allocations: 13.66 kB / 417 MB, free: 4.547 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2118, allocations: 0 / 417 MB, free: 4.547 MB / 286.1 MB Notification: Performance of Templates: time 0.003728/0.2156, allocations: 1.33 MB / 418.4 MB, free: 4.434 MB / 286.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1)