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 -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.001752/0.001752, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002576/0.002575, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.54/1.54, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.00892/0.00892, allocations: 1.336 MB / 291.7 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 59.91 kB / 355.4 MB, free: 14.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3239, allocations: 49.73 MB / 405.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003396/0.3274, allocations: 1.639 MB / 406.8 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3285, allocations: 0.5088 MB / 407.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.86e-05/0.3286, allocations: 5.406 kB / 407.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.3288, allocations: 19.14 kB / 407.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.3289, allocations: 18.52 kB / 407.3 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.3291, allocations: 86.16 kB / 407.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3293, allocations: 115.8 kB / 407.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.3295, allocations: 37.53 kB / 407.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.766e-05/0.3295, allocations: 36.83 kB / 407.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.3296, allocations: 34.92 kB / 407.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.3297, allocations: 9.875 kB / 407.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.3297, allocations: 6.781 kB / 407.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.3297, allocations: 22.2 kB / 407.6 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.3298, allocations: 41.08 kB / 407.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.3299, allocations: 89.48 kB / 407.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3299, allocations: 0 / 407.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3299, allocations: 0 / 407.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.3299, allocations: 0 / 407.8 MB, free: 10.16 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.0004466/0.3304, allocations: 413.6 kB / 408.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3304, allocations: 16.61 kB / 408.2 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.3305, allocations: 43.77 kB / 408.2 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.3305, allocations: 14.53 kB / 408.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.3307, allocations: 199.7 kB / 408.4 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3307, allocations: 7.594 kB / 408.5 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.3308, allocations: 10.42 kB / 408.5 MB, free: 9.465 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3309, allocations: 96.41 kB / 408.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.331, allocations: 0.875 kB / 408.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.331, allocations: 5.312 kB / 408.6 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.331, allocations: 1.062 kB / 408.6 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.824e-05/0.3311, allocations: 32.48 kB / 408.6 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.3318, allocations: 0.5236 MB / 409.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3319, allocations: 30.22 kB / 409.1 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.332, allocations: 16.12 kB / 409.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.332, allocations: 1.125 kB / 409.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.332, allocations: 36.56 kB / 409.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.332, allocations: 0 / 409.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002138/0.3323, allocations: 62.67 kB / 409.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.3323, allocations: 55.41 kB / 409.3 MB, free: 8.684 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3325, allocations: 177 kB / 409.5 MB, free: 8.555 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3325, allocations: 26.41 kB / 409.5 MB, free: 8.523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.3326, allocations: 118.2 kB / 409.6 MB, free: 8.414 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.3326, allocations: 18.56 kB / 409.6 MB, free: 8.398 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.3327, allocations: 32.52 kB / 409.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.3328, allocations: 321.5 kB / 410 MB, free: 8.059 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/0.3328, allocations: 25.88 kB / 410 MB, free: 8.047 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.3329, allocations: 79.92 kB / 410.1 MB, free: 7.965 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.333, allocations: 109.6 kB / 410.2 MB, free: 7.859 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.333, allocations: 0 / 410.2 MB, free: 7.859 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002012/0.3332, allocations: 137.5 kB / 410.3 MB, free: 7.781 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3333, allocations: 6.406 kB / 410.3 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3333, allocations: 2.094 kB / 410.3 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.3333, allocations: 3.25 kB / 410.4 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.3335, allocations: 25.27 kB / 410.4 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.3335, allocations: 6.438 kB / 410.4 MB, free: 7.777 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.3336, allocations: 22.14 kB / 410.4 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3336, allocations: 4.531 kB / 410.4 MB, free: 7.762 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 7.775e-05/0.3337, allocations: 124.6 kB / 410.5 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3337, allocations: 12.47 kB / 410.5 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.3337, allocations: 13.62 kB / 410.6 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3337, allocations: 3.984 kB / 410.6 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3337, allocations: 1.188 kB / 410.6 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3338, allocations: 4.547 kB / 410.6 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.334, allocations: 327 kB / 410.9 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.334, allocations: 0.9688 kB / 410.9 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.3341, allocations: 8.922 kB / 410.9 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3341, allocations: 5.875 kB / 410.9 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3341, allocations: 0.9688 kB / 410.9 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3341, allocations: 1.812 kB / 410.9 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3342, allocations: 5.125 kB / 410.9 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.3343, allocations: 164.5 kB / 411.1 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.3343, allocations: 91.83 kB / 411.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3344, allocations: 5.031 kB / 411.2 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.36e-05/0.3344, allocations: 0.625 kB / 411.2 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.3345, allocations: 6.609 kB / 411.2 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3345, allocations: 1.938 kB / 411.2 MB, free: 7.004 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.418e-05/0.3346, allocations: 120.5 kB / 411.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3346, allocations: 0 / 411.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.3348, allocations: 23.19 kB / 411.3 MB, free: 6.91 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.0002774/0.3351, allocations: 0.706 MB / 412 MB, free: 6.219 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.3353, allocations: 58 kB / 412.1 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3353, allocations: 0 / 412.1 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.3353, allocations: 6.562 kB / 412.1 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.3358, allocations: 42.47 kB / 412.1 MB, free: 6.188 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.3372, allocations: 1.727 MB / 413.8 MB, free: 4.656 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.3374, allocations: 0.6989 MB / 414.5 MB, free: 3.961 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.3375, allocations: 16.8 kB / 414.6 MB, free: 3.953 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.3375, allocations: 36.22 kB / 414.6 MB, free: 3.926 MB / 286.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3375, allocations: 0 / 414.6 MB, free: 3.926 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.3619, allocations: 2.486 MB / 417.1 MB, free: 3.523 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/7.967, allocations: 8.297 kB / 417.1 MB, free: 3.52 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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1)