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.005149/0.005149, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001395/0.001395, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008454/0.008454, allocations: 1.323 MB / 291.9 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.55 kB / 405.8 MB, free: 8.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.09278, allocations: 49.73 MB / 455.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD): time 0.003229/0.09606, allocations: 1.658 MB / 457.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.09712, allocations: 0.5182 MB / 457.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.915e-05/0.09722, allocations: 4 kB / 457.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.09736, allocations: 11.81 kB / 457.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.09742, allocations: 19.78 kB / 457.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.09772, allocations: 79.91 kB / 457.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.09794, allocations: 131.5 kB / 458 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.09809, allocations: 41.34 kB / 458 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.09815, allocations: 35.8 kB / 458 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.265e-05/0.09824, allocations: 35.78 kB / 458.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.09827, allocations: 8 kB / 458.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.906e-05/0.0983, allocations: 8 kB / 458.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.09833, allocations: 15.92 kB / 458.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.0984, allocations: 47.67 kB / 458.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.09858, allocations: 95.84 kB / 458.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.09859, allocations: 0 / 458.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.0986, allocations: 3.938 kB / 458.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.09861, allocations: 4 kB / 458.2 MB, free: 14.79 MB / 334.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.0006105/0.09923, allocations: 407 kB / 458.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.09929, allocations: 15.89 kB / 458.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.09935, allocations: 38.69 kB / 458.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.0994, allocations: 16.84 kB / 458.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.09965, allocations: 199.6 kB / 458.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.09967, allocations: 4.375 kB / 458.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.09971, allocations: 15.89 kB / 458.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.09991, allocations: 104.2 kB / 459 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.09993, allocations: 3.938 kB / 459 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.09995, allocations: 0 / 459 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.09997, allocations: 3.984 kB / 459 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.1, allocations: 24 kB / 459.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.1008, allocations: 0.5243 MB / 459.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.1009, allocations: 38.5 kB / 459.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.101, allocations: 12.86 kB / 459.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.101, allocations: 0 / 459.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.101, allocations: 42.5 kB / 459.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.101, allocations: 0 / 459.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001796/0.1012, allocations: 61.67 kB / 459.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.1013, allocations: 51.41 kB / 459.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.1014, allocations: 174.3 kB / 460 MB, free: 12.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1015, allocations: 25.7 kB / 460 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.1016, allocations: 115.9 kB / 460.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1016, allocations: 11.94 kB / 460.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.1017, allocations: 37.67 kB / 460.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1018, allocations: 322.8 kB / 460.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.1019, allocations: 32.84 kB / 460.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/0.102, allocations: 79.66 kB / 460.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1021, allocations: 107.6 kB / 460.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1021, allocations: 4 kB / 460.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002174/0.1024, allocations: 133.4 kB / 460.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1024, allocations: 4 kB / 460.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1024, allocations: 4 kB / 460.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1024, allocations: 4 kB / 460.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.1026, allocations: 31.92 kB / 460.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.1026, allocations: 4 kB / 460.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.078e-05/0.1027, allocations: 16.11 kB / 460.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1027, allocations: 8 kB / 460.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001116/0.1028, allocations: 108.1 kB / 461 MB, free: 11.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.842e-05/0.103, allocations: 83.59 kB / 461.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001272/0.1031, allocations: 107.6 kB / 461.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.1031, allocations: 0 / 461.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002158/0.1033, allocations: 137.6 kB / 461.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1033, allocations: 15.88 kB / 461.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.1034, allocations: 0 / 461.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.1034, allocations: 4.047 kB / 461.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.1035, allocations: 27.97 kB / 461.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1035, allocations: 7.938 kB / 461.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.1035, allocations: 11.95 kB / 461.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1036, allocations: 4.219 kB / 461.4 MB, free: 11.29 MB / 334.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 0.0001259/0.1037, allocations: 192.2 kB / 461.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.1037, allocations: 11.89 kB / 461.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.1038, allocations: 16.92 kB / 461.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1038, allocations: 0 / 461.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1038, allocations: 0 / 461.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1038, allocations: 0 / 461.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.1042, allocations: 323.5 kB / 461.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.1042, allocations: 12.05 kB / 461.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.1043, allocations: 8 kB / 461.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1043, allocations: 3.938 kB / 461.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1043, allocations: 0 / 461.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1043, allocations: 0 / 461.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1044, allocations: 4 kB / 461.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.1046, allocations: 168.2 kB / 462.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.1046, allocations: 93.14 kB / 462.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1047, allocations: 0 / 462.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.1047, allocations: 0 / 462.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.1048, allocations: 8 kB / 462.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1048, allocations: 0 / 462.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1049, allocations: 124.2 kB / 462.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1049, allocations: 0 / 462.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00036/0.1053, allocations: 35.95 kB / 462.3 MB, free: 10.2 MB / 334.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.0005375/0.1058, allocations: 0.712 MB / 463.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1061, allocations: 100.5 kB / 463.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.1061, allocations: 4.25 kB / 463.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.1061, allocations: 11.92 kB / 463.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.1066, allocations: 45.55 kB / 463.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1086, allocations: 1.743 MB / 465 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.1091, allocations: 0.7007 MB / 465.7 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.382e-05/0.1092, allocations: 12.88 kB / 465.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.1092, allocations: 23.44 kB / 465.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1092, allocations: 0 / 465.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.1365, allocations: 2.587 MB / 468.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/8.356, allocations: 10.23 kB / 468.3 MB, free: 4.27 MB / 334.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)