Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.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.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",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.008434/0.008434, allocations: 96.69 kB / 15.73 MB, free: 6 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.002048/0.002048, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.623/1.623, 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.008205/0.008205, allocations: 1.33 MB / 291.9 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 59.91 kB / 405.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2894, allocations: 49.72 MB / 455.5 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002438/0.2919, allocations: 1.787 MB / 457.3 MB, free: 22.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007956/0.2927, allocations: 0.5474 MB / 457.9 MB, free: 21.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.2928, allocations: 3.281 kB / 457.9 MB, free: 21.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.293, allocations: 18.41 kB / 457.9 MB, free: 21.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.2931, allocations: 40.7 kB / 457.9 MB, free: 21.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.2934, allocations: 83.55 kB / 458 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.2936, allocations: 153.8 kB / 458.2 MB, free: 21.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2937, allocations: 55.55 kB / 458.2 MB, free: 21.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.352e-05/0.2938, allocations: 53.55 kB / 458.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.2939, allocations: 58.11 kB / 458.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2939, allocations: 9.375 kB / 458.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.2939, allocations: 9.344 kB / 458.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.294, allocations: 22.2 kB / 458.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.294, allocations: 68.86 kB / 458.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.2942, allocations: 136.5 kB / 458.6 MB, free: 21.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2942, allocations: 4 kB / 458.6 MB, free: 21.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2942, allocations: 0 / 458.6 MB, free: 21.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.2943, allocations: 0 / 458.6 MB, free: 21.55 MB / 350.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.0005866/0.2948, allocations: 447.8 kB / 459 MB, free: 21.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2949, allocations: 9.531 kB / 459 MB, free: 21.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.2949, allocations: 42.12 kB / 459.1 MB, free: 21.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.295, allocations: 15.31 kB / 459.1 MB, free: 21.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.2952, allocations: 220.5 kB / 459.3 MB, free: 20.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2952, allocations: 7.75 kB / 459.3 MB, free: 20.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.2952, allocations: 6.719 kB / 459.3 MB, free: 20.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.2955, allocations: 121.6 kB / 459.4 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2955, allocations: 0 / 459.4 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2955, allocations: 11.36 kB / 459.4 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2955, allocations: 2.938 kB / 459.4 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.2957, allocations: 68.64 kB / 459.5 MB, free: 20.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.2964, allocations: 0.4975 MB / 460 MB, free: 20.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.2966, allocations: 76.22 kB / 460.1 MB, free: 20.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2967, allocations: 37.11 kB / 460.1 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2967, allocations: 0 / 460.1 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.2967, allocations: 33.47 kB / 460.1 MB, free: 20.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2967, allocations: 0 / 460.1 MB, free: 20.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004111/0.2972, allocations: 132 kB / 460.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.2972, allocations: 54.34 kB / 460.3 MB, free: 20.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2973, allocations: 171.9 kB / 460.5 MB, free: 19.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2973, allocations: 25.7 kB / 460.5 MB, free: 19.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.2974, allocations: 127.9 kB / 460.6 MB, free: 19.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.2974, allocations: 17.69 kB / 460.7 MB, free: 19.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.2975, allocations: 29.53 kB / 460.7 MB, free: 19.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.2975, allocations: 329.2 kB / 461 MB, free: 19.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2976, allocations: 32.94 kB / 461 MB, free: 19.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.2977, allocations: 57.05 kB / 461.1 MB, free: 19.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.298, allocations: 92.09 kB / 461.2 MB, free: 19.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.298, allocations: 7.281 kB / 461.2 MB, free: 19.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002641/0.2982, allocations: 136.5 kB / 461.3 MB, free: 19.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2983, allocations: 7.062 kB / 461.3 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2983, allocations: 2.875 kB / 461.3 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2983, allocations: 0 / 461.3 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.2985, allocations: 30.06 kB / 461.4 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2985, allocations: 6.844 kB / 461.4 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.2986, allocations: 17.33 kB / 461.4 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.2986, allocations: 7 kB / 461.4 MB, free: 19.28 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 13 * 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.692e-05/0.2986, allocations: 118.3 kB / 461.5 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.2987, allocations: 13.83 kB / 461.5 MB, free: 19.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.2987, allocations: 19.78 kB / 461.5 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2987, allocations: 0 / 461.5 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2987, allocations: 3 kB / 461.5 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2987, allocations: 4.25 kB / 461.5 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.2992, allocations: 410.7 kB / 462 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2992, allocations: 3.062 kB / 462 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.2995, allocations: 27.5 kB / 462 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2995, allocations: 6.953 kB / 462 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2995, allocations: 4 kB / 462 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007424/0.3002, allocations: 1.402 MB / 463.4 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3003, allocations: 3 kB / 463.4 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.3006, allocations: 233.4 kB / 463.6 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3007, allocations: 93.77 kB / 463.7 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.3007, allocations: 4.609 kB / 463.7 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3008, allocations: 9.141 kB / 463.7 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.3008, allocations: 5.391 kB / 463.7 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.3009, allocations: 10.88 kB / 463.7 MB, free: 17.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.192e-05/0.3009, allocations: 125.8 kB / 463.9 MB, free: 16.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3009, allocations: 0 / 463.9 MB, free: 16.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3012, allocations: 24.89 kB / 463.9 MB, free: 16.91 MB / 350.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.0005063/0.3017, allocations: 0.7785 MB / 464.7 MB, free: 16.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.302, allocations: 83.3 kB / 464.8 MB, free: 16.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.302, allocations: 3.938 kB / 464.8 MB, free: 16.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.3022, allocations: 54.75 kB / 464.8 MB, free: 16.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.3027, allocations: 47.31 kB / 464.9 MB, free: 16.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.3045, allocations: 1.806 MB / 466.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.3046, allocations: 0.7102 MB / 467.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.187e-05/0.3047, allocations: 16.86 kB / 467.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.3048, allocations: 36.98 kB / 467.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3048, allocations: 0 / 467.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.331, allocations: 3.143 MB / 470.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.296, allocations: 8.375 kB / 470.6 MB, free: 13.47 MB / 350.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1)