Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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 -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_OFF_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_OFF_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.001492/0.001492, allocations: 108 kB / 15.6 MB, free: 132 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.001462/0.001462, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.009454/0.009454, allocations: 1.326 MB / 291.7 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 59.91 kB / 355.4 MB, free: 14.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2715, 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_OFF_BWD): time 0.003077/0.2746, allocations: 1.642 MB / 406.8 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000907/0.2755, allocations: 0.5152 MB / 407.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.337e-05/0.2756, allocations: 1.812 kB / 407.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.2758, allocations: 19.14 kB / 407.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.2759, allocations: 20.61 kB / 407.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.2762, allocations: 77.92 kB / 407.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.2764, allocations: 138.5 kB / 407.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.2766, allocations: 41.89 kB / 407.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.2766, allocations: 32.16 kB / 407.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.2767, allocations: 35.78 kB / 407.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.2767, allocations: 5.688 kB / 407.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.2768, allocations: 7.062 kB / 407.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.2768, allocations: 17.41 kB / 407.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.2769, allocations: 45.69 kB / 407.7 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.277, allocations: 88.58 kB / 407.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.277, allocations: 5.281 kB / 407.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.277, allocations: 0 / 407.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2771, allocations: 0 / 407.8 MB, free: 10.15 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.0005139/0.2776, allocations: 408.6 kB / 408.2 MB, free: 9.746 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2776, allocations: 13.77 kB / 408.2 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.2777, allocations: 38.38 kB / 408.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.2777, allocations: 16.23 kB / 408.3 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.2779, allocations: 207.1 kB / 408.5 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2779, allocations: 12.45 kB / 408.5 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.2779, allocations: 10.16 kB / 408.5 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.2781, allocations: 90.45 kB / 408.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2781, allocations: 0 / 408.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2781, allocations: 9.312 kB / 408.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2782, allocations: 5.609 kB / 408.6 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.2782, allocations: 29.38 kB / 408.6 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.2788, allocations: 0.5154 MB / 409.1 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.69e-05/0.2789, allocations: 39.42 kB / 409.2 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.279, allocations: 19.69 kB / 409.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.279, allocations: 0 / 409.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.279, allocations: 37.42 kB / 409.2 MB, free: 8.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.279, allocations: 0 / 409.2 MB, free: 8.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001728/0.2792, allocations: 53.2 kB / 409.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.2792, allocations: 53.16 kB / 409.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2794, allocations: 184.3 kB / 409.5 MB, free: 8.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.2794, allocations: 29.7 kB / 409.5 MB, free: 8.516 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.2795, allocations: 122 kB / 409.7 MB, free: 8.402 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.2795, allocations: 14.16 kB / 409.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.2795, allocations: 38.2 kB / 409.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.2796, allocations: 320.4 kB / 410 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.942e-05/0.2797, allocations: 31.73 kB / 410.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.2797, allocations: 77.89 kB / 410.1 MB, free: 7.945 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2798, allocations: 105.6 kB / 410.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2799, allocations: 0 / 410.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001868/0.28, allocations: 134.4 kB / 410.4 MB, free: 7.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2801, allocations: 7 kB / 410.4 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2801, allocations: 2.438 kB / 410.4 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2801, allocations: 6.594 kB / 410.4 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2802, allocations: 29.59 kB / 410.4 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.2803, allocations: 4.062 kB / 410.4 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.2803, allocations: 19.81 kB / 410.4 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2803, allocations: 6.562 kB / 410.4 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.953e-05/0.2804, allocations: 109.2 kB / 410.5 MB, free: 7.652 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.727e-05/0.2805, allocations: 85.44 kB / 410.6 MB, free: 7.562 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.695e-05/0.2806, allocations: 101.3 kB / 410.7 MB, free: 7.465 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-06/0.2806, allocations: 3.938 kB / 410.7 MB, free: 7.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001745/0.2808, allocations: 129 kB / 410.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.2808, allocations: 13.22 kB / 410.9 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.2808, allocations: 2.125 kB / 410.9 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.2808, allocations: 8.516 kB / 410.9 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.2809, allocations: 28.11 kB / 410.9 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2809, allocations: 4 kB / 410.9 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.281, allocations: 12.16 kB / 410.9 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.281, allocations: 13.03 kB / 410.9 MB, free: 7.363 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 5.89e-05/0.2811, allocations: 185 kB / 411.1 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.2811, allocations: 19.02 kB / 411.1 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.2811, allocations: 12.88 kB / 411.1 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2811, allocations: 1.062 kB / 411.2 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2811, allocations: 4 kB / 411.2 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2812, allocations: 1.969 kB / 411.2 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.2814, allocations: 322.9 kB / 411.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2814, allocations: 0 / 411.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.2815, allocations: 10.89 kB / 411.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2815, allocations: 0 / 411.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2815, allocations: 1.062 kB / 411.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2815, allocations: 1.062 kB / 411.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2815, allocations: 1.656 kB / 411.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.2817, allocations: 173.1 kB / 411.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.2817, allocations: 91.7 kB / 411.7 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2817, allocations: 1.594 kB / 411.7 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.2818, allocations: 0.5625 kB / 411.7 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.2818, allocations: 1.656 kB / 411.7 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.2818, allocations: 1.828 kB / 411.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.485e-05/0.2819, allocations: 127.9 kB / 411.9 MB, free: 6.461 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2819, allocations: 0 / 411.9 MB, free: 6.461 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.2823, allocations: 36.09 kB / 411.9 MB, free: 6.453 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.0003199/0.2826, allocations: 0.7032 MB / 412.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.2828, allocations: 104.7 kB / 412.7 MB, free: 5.73 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2828, allocations: 0 / 412.7 MB, free: 5.73 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.2829, allocations: 14.81 kB / 412.7 MB, free: 5.723 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.2834, allocations: 44.56 kB / 412.8 MB, free: 5.711 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.2849, allocations: 1.728 MB / 414.5 MB, free: 4.176 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.2851, allocations: 0.7023 MB / 415.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.423e-05/0.2852, allocations: 15.52 kB / 415.2 MB, free: 3.473 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.2853, allocations: 30.19 kB / 415.2 MB, free: 3.449 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2853, allocations: 0 / 415.2 MB, free: 3.449 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.3136, allocations: 2.53 MB / 417.8 MB, free: 3.051 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.046, allocations: 9.312 kB / 417.8 MB, free: 3.043 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_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_OFF_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe 2>&1)