Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001493/0.001494, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008109/0.008109, allocations: 1.317 MB / 291.4 MB, free: 1.215 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 63.89 kB / 354.8 MB, free: 15.14 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3038, allocations: 49.72 MB / 404.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.002953/0.3068, allocations: 1.718 MB / 406.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009105/0.3077, allocations: 0.5207 MB / 406.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.3078, allocations: 1.094 kB / 406.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.308, allocations: 8.625 kB / 406.8 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-05/0.308, allocations: 19.7 kB / 406.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.3083, allocations: 78.31 kB / 406.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3085, allocations: 113.4 kB / 407 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3086, allocations: 41.52 kB / 407.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.3087, allocations: 36.73 kB / 407.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.3087, allocations: 37 kB / 407.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3088, allocations: 7.562 kB / 407.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.3088, allocations: 6.688 kB / 407.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.3088, allocations: 14.33 kB / 407.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.3089, allocations: 45.11 kB / 407.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.309, allocations: 84.12 kB / 407.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.309, allocations: 0.9375 kB / 407.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.309, allocations: 0 / 407.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.309, allocations: 0 / 407.3 MB, free: 10.08 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000437/0.3095, allocations: 417.5 kB / 407.7 MB, free: 9.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3095, allocations: 13.45 kB / 407.7 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.3096, allocations: 42.88 kB / 407.7 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.3096, allocations: 10.44 kB / 407.8 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3097, allocations: 200.8 kB / 408 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3098, allocations: 9.094 kB / 408 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.3098, allocations: 12.47 kB / 408 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3099, allocations: 93.44 kB / 408.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.31, allocations: 0 / 408.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.31, allocations: 1.312 kB / 408.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.31, allocations: 1.594 kB / 408.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.3101, allocations: 44.31 kB / 408.1 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.3106, allocations: 0.5166 MB / 408.6 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.127e-05/0.3107, allocations: 30.2 kB / 408.7 MB, free: 8.781 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.3107, allocations: 16.23 kB / 408.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3107, allocations: 3.938 kB / 408.7 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.3107, allocations: 37.17 kB / 408.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.3108, allocations: 7.938 kB / 408.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001474/0.3109, allocations: 57.23 kB / 408.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.3109, allocations: 53.12 kB / 408.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3111, allocations: 173.1 kB / 409 MB, free: 8.484 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.3111, allocations: 29.7 kB / 409 MB, free: 8.449 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.3111, allocations: 118.5 kB / 409.1 MB, free: 8.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.3112, allocations: 19.66 kB / 409.2 MB, free: 8.324 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.3112, allocations: 34.45 kB / 409.2 MB, free: 8.297 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.3113, allocations: 324.9 kB / 409.5 MB, free: 7.977 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.3113, allocations: 18.92 kB / 409.5 MB, free: 7.973 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.3114, allocations: 81.58 kB / 409.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.64e-05/0.3115, allocations: 104.6 kB / 409.7 MB, free: 7.785 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3115, allocations: 1.062 kB / 409.7 MB, free: 7.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000167/0.3116, allocations: 135.8 kB / 409.8 MB, free: 7.707 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3117, allocations: 9.203 kB / 409.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3117, allocations: 2.219 kB / 409.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3117, allocations: 3.406 kB / 409.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.3118, allocations: 29.25 kB / 409.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3118, allocations: 2.75 kB / 409.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.3119, allocations: 21.03 kB / 409.9 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3119, allocations: 10.56 kB / 409.9 MB, free: 7.684 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 16 * 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 6.049e-05/0.312, allocations: 123.5 kB / 410 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.312, allocations: 12.59 kB / 410.1 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.312, allocations: 12.38 kB / 410.1 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.312, allocations: 5.641 kB / 410.1 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.312, allocations: 0 / 410.1 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3121, allocations: 1.156 kB / 410.1 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.3123, allocations: 323.8 kB / 410.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3123, allocations: 0 / 410.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.3124, allocations: 14.33 kB / 410.4 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3124, allocations: 0.6562 kB / 410.4 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3124, allocations: 1.281 kB / 410.4 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3124, allocations: 1.156 kB / 410.4 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3124, allocations: 0.7031 kB / 410.4 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.3125, allocations: 178.1 kB / 410.6 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.3126, allocations: 87.05 kB / 410.7 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3126, allocations: 2.062 kB / 410.7 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.782e-05/0.3127, allocations: 0 / 410.7 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.3127, allocations: 1.984 kB / 410.7 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3127, allocations: 9.922 kB / 410.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.932e-05/0.3128, allocations: 130.7 kB / 410.8 MB, free: 6.836 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3128, allocations: 3.938 kB / 410.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.313, allocations: 18.31 kB / 410.8 MB, free: 6.828 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002712/0.3133, allocations: 0.7026 MB / 411.5 MB, free: 6.141 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.3135, allocations: 57.33 kB / 411.6 MB, free: 6.121 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3135, allocations: 0.5 kB / 411.6 MB, free: 6.121 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-05/0.3135, allocations: 11.33 kB / 411.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3139, allocations: 36.73 kB / 411.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3154, allocations: 1.758 MB / 413.4 MB, free: 4.543 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.3155, allocations: 0.6989 MB / 414.1 MB, free: 3.848 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.592e-05/0.3156, allocations: 12.67 kB / 414.1 MB, free: 3.844 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.3156, allocations: 27.28 kB / 414.1 MB, free: 3.824 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3156, allocations: 7.875 kB / 414.1 MB, free: 3.816 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.3344, allocations: 2.415 MB / 416.6 MB, free: 3.527 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/0.3348, allocations: 243.8 kB / 416.8 MB, free: 3.277 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.074, allocations: 7.234 kB / 416.8 MB, free: 3.273 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1)