Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 111.5 kB / 15.99 MB, free: 6.355 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.002012/0.002012, allocations: 191.9 kB / 16.91 MB, free: 6.195 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.817/1.817, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.00853/0.00853, allocations: 1.323 MB / 292.1 MB, free: 13.7 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002985/0.002984, allocations: 63.89 kB / 355.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4179, allocations: 49.73 MB / 405.1 MB, free: 35.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003541/0.4215, allocations: 1.865 MB / 407 MB, free: 33.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.4225, allocations: 0.5412 MB / 407.5 MB, free: 32.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.4226, allocations: 4 kB / 407.5 MB, free: 32.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.4228, allocations: 11.92 kB / 407.5 MB, free: 32.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.4229, allocations: 27.78 kB / 407.6 MB, free: 32.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.4232, allocations: 75.86 kB / 407.6 MB, free: 32.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.4234, allocations: 175.4 kB / 407.8 MB, free: 32.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.4236, allocations: 48.64 kB / 407.9 MB, free: 32.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.4237, allocations: 55.72 kB / 407.9 MB, free: 32.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.242e-05/0.4238, allocations: 51.72 kB / 408 MB, free: 32.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.4238, allocations: 8 kB / 408 MB, free: 32.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.484e-05/0.4239, allocations: 12 kB / 408 MB, free: 32.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.525e-05/0.4239, allocations: 31.84 kB / 408 MB, free: 32.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.424, allocations: 67.59 kB / 408.1 MB, free: 32.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.4241, allocations: 95.77 kB / 408.2 MB, free: 31.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4241, allocations: 0 / 408.2 MB, free: 31.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4241, allocations: 0 / 408.2 MB, free: 31.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.4242, allocations: 4 kB / 408.2 MB, free: 31.95 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007193/0.4249, allocations: 442.9 kB / 408.6 MB, free: 31.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4249, allocations: 15.89 kB / 408.6 MB, free: 31.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.425, allocations: 16.75 kB / 408.7 MB, free: 31.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.4252, allocations: 206.4 kB / 408.9 MB, free: 31.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.4253, allocations: 8.375 kB / 408.9 MB, free: 31.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.4253, allocations: 12.38 kB / 408.9 MB, free: 31.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.4256, allocations: 130 kB / 409 MB, free: 31.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4256, allocations: 0 / 409 MB, free: 31.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.4256, allocations: 8 kB / 409 MB, free: 31.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4256, allocations: 3.984 kB / 409 MB, free: 31.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.4259, allocations: 67.83 kB / 409.1 MB, free: 30.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.4266, allocations: 0.5084 MB / 409.6 MB, free: 30.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4268, allocations: 74.48 kB / 409.7 MB, free: 30.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.4269, allocations: 36.97 kB / 409.7 MB, free: 30.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.4269, allocations: 0 / 409.7 MB, free: 30.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.427, allocations: 30.56 kB / 409.7 MB, free: 30.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.427, allocations: 0 / 409.7 MB, free: 30.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004062/0.4274, allocations: 133.5 kB / 409.9 MB, free: 30.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.4274, allocations: 51.41 kB / 409.9 MB, free: 30.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.4276, allocations: 182.8 kB / 410.1 MB, free: 29.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.4276, allocations: 25.7 kB / 410.1 MB, free: 29.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.4277, allocations: 127.7 kB / 410.2 MB, free: 29.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.4277, allocations: 11.72 kB / 410.2 MB, free: 29.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.4277, allocations: 37.7 kB / 410.3 MB, free: 29.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.4278, allocations: 322.8 kB / 410.6 MB, free: 29.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4279, allocations: 35.97 kB / 410.6 MB, free: 29.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.428, allocations: 67.14 kB / 410.7 MB, free: 29.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.4282, allocations: 96.2 kB / 410.8 MB, free: 29.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4282, allocations: 0 / 410.8 MB, free: 29.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002491/0.4285, allocations: 145.4 kB / 410.9 MB, free: 28.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4285, allocations: 8.031 kB / 410.9 MB, free: 28.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4285, allocations: 3.938 kB / 410.9 MB, free: 28.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4286, allocations: 4.094 kB / 410.9 MB, free: 28.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.4289, allocations: 43.84 kB / 411 MB, free: 28.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008685/0.4297, allocations: 1.408 MB / 412.4 MB, free: 27.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.4298, allocations: 24 kB / 412.4 MB, free: 27.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.4299, allocations: 4 kB / 412.4 MB, free: 27.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 12 * 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 8.874e-05/0.4299, allocations: 125.8 kB / 412.6 MB, free: 27.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.43, allocations: 7.906 kB / 412.6 MB, free: 27.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.43, allocations: 13.41 kB / 412.6 MB, free: 27.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.43, allocations: 0 / 412.6 MB, free: 27.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.43, allocations: 0 / 412.6 MB, free: 27.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.43, allocations: 0 / 412.6 MB, free: 27.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.4305, allocations: 415.1 kB / 413 MB, free: 26.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4305, allocations: 0 / 413 MB, free: 26.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.4307, allocations: 31.97 kB / 413 MB, free: 26.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4307, allocations: 3.938 kB / 413 MB, free: 26.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.4308, allocations: 0 / 413 MB, free: 26.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006996/0.4315, allocations: 1.4 MB / 414.4 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4315, allocations: 0 / 414.4 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.4318, allocations: 248.1 kB / 414.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.4319, allocations: 101.1 kB / 414.8 MB, free: 24.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.4319, allocations: 0 / 414.8 MB, free: 24.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.987e-05/0.432, allocations: 7.984 kB / 414.8 MB, free: 24.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.4321, allocations: 8 kB / 414.8 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.4321, allocations: 0 / 414.8 MB, free: 24.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.789e-05/0.4322, allocations: 127.2 kB / 414.9 MB, free: 24.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4322, allocations: 0 / 414.9 MB, free: 24.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.4325, allocations: 27.91 kB / 414.9 MB, free: 24.58 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 (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 0.000119/0.4326, allocations: 107.2 kB / 415 MB, free: 24.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004367/0.433, allocations: 99.81 kB / 415.1 MB, free: 24.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.433, allocations: 0 / 415.1 MB, free: 24.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.4333, allocations: 56.27 kB / 415.2 MB, free: 24.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.4338, allocations: 39.56 kB / 415.2 MB, free: 24.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/0.4346, allocations: 398.3 kB / 415.6 MB, free: 23.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.4348, allocations: 0.708 MB / 416.3 MB, free: 23.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.4349, allocations: 15.38 kB / 416.3 MB, free: 23.1 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4349, allocations: 0 / 416.3 MB, free: 23.1 MB / 302.1 MB Notification: Performance of Templates: time 0.004247/0.4391, allocations: 2.101 MB / 418.4 MB, free: 21.01 MB / 302.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1)