Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_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.001371/0.001371, 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.001449/0.001449, allocations: 194.9 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.01702/0.01702, allocations: 1.324 MB / 291.7 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003083/0.003083, allocations: 59.91 kB / 355.4 MB, free: 14.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2723, allocations: 49.73 MB / 405.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003086/0.2755, allocations: 1.666 MB / 406.8 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.2764, allocations: 0.5303 MB / 407.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.2766, allocations: 1.344 kB / 407.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2768, allocations: 21.16 kB / 407.3 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.2768, allocations: 25.89 kB / 407.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.2772, allocations: 91.66 kB / 407.4 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.2774, allocations: 122.3 kB / 407.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2775, allocations: 52.8 kB / 407.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.2776, allocations: 43.91 kB / 407.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.2777, allocations: 43.95 kB / 407.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.2778, allocations: 8.094 kB / 407.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.339e-05/0.2778, allocations: 12.75 kB / 407.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.2778, allocations: 18.06 kB / 407.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.2779, allocations: 53.44 kB / 407.8 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.278, allocations: 118.5 kB / 407.9 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2781, allocations: 1.125 kB / 407.9 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2781, allocations: 0 / 407.9 MB, free: 10.08 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.2781, allocations: 0 / 407.9 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004719/0.2786, allocations: 418.9 kB / 408.3 MB, free: 9.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2786, allocations: 13.19 kB / 408.3 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.2786, allocations: 38.7 kB / 408.4 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.2787, allocations: 16.5 kB / 408.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.2789, allocations: 216.2 kB / 408.6 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2789, allocations: 12.19 kB / 408.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.2789, allocations: 10.47 kB / 408.6 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2791, allocations: 104.2 kB / 408.7 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2791, allocations: 0 / 408.7 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2791, allocations: 13.5 kB / 408.7 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.2791, allocations: 1.469 kB / 408.7 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.2792, allocations: 36.58 kB / 408.8 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.2798, allocations: 0.5452 MB / 409.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.2799, allocations: 51.88 kB / 409.4 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.28, allocations: 19.09 kB / 409.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.28, allocations: 1.031 kB / 409.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.197e-05/0.28, allocations: 32.41 kB / 409.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.28, allocations: 0 / 409.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000176/0.2802, allocations: 81.52 kB / 409.5 MB, free: 8.637 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.2802, allocations: 51.41 kB / 409.5 MB, free: 8.574 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2804, allocations: 178.5 kB / 409.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.2804, allocations: 28.03 kB / 409.7 MB, free: 8.418 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.2804, allocations: 120.6 kB / 409.9 MB, free: 8.305 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.2805, allocations: 15.56 kB / 409.9 MB, free: 8.293 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.2805, allocations: 40.62 kB / 409.9 MB, free: 8.262 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.2806, allocations: 320.3 kB / 410.2 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.2806, allocations: 27.89 kB / 410.3 MB, free: 7.934 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.2807, allocations: 48.59 kB / 410.3 MB, free: 7.895 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.867e-05/0.2808, allocations: 79.17 kB / 410.4 MB, free: 7.832 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2808, allocations: 0 / 410.4 MB, free: 7.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001574/0.2809, allocations: 118.6 kB / 410.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.281, allocations: 9.438 kB / 410.5 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.281, allocations: 1.375 kB / 410.5 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.281, allocations: 2.125 kB / 410.5 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.2812, allocations: 30.59 kB / 410.5 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2812, allocations: 2.172 kB / 410.5 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.2812, allocations: 15.97 kB / 410.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2812, allocations: 4.125 kB / 410.6 MB, free: 7.746 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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.777e-05/0.2813, allocations: 128.1 kB / 410.7 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.2813, allocations: 11.97 kB / 410.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.2814, allocations: 13.75 kB / 410.7 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2814, allocations: 1.375 kB / 410.7 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2814, allocations: 3.938 kB / 410.7 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2814, allocations: 0.7031 kB / 410.7 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.2817, allocations: 352.6 kB / 411.1 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2817, allocations: 4.031 kB / 411.1 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.2819, allocations: 22.28 kB / 411.1 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2819, allocations: 1.375 kB / 411.1 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2819, allocations: 2.031 kB / 411.1 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006897/0.2826, allocations: 1.407 MB / 412.5 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2826, allocations: 1.375 kB / 412.5 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.2828, allocations: 181.8 kB / 412.7 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.2828, allocations: 91.39 kB / 412.8 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.2828, allocations: 1.984 kB / 412.8 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.2829, allocations: 5.312 kB / 412.8 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.2829, allocations: 2.828 kB / 412.8 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.2829, allocations: 1.375 kB / 412.8 MB, free: 5.512 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.781e-05/0.283, allocations: 133.6 kB / 412.9 MB, free: 5.418 MB / 286.1 MB Notification: Performance of sort global known variables: time 8.71e-07/0.283, allocations: 0 / 412.9 MB, free: 5.418 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.2833, allocations: 31.12 kB / 412.9 MB, free: 5.406 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 (4): * Single equations (assignments): 3 * 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.0002925/0.2836, allocations: 0.7109 MB / 413.7 MB, free: 4.719 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.2838, allocations: 57.97 kB / 413.7 MB, free: 4.699 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2838, allocations: 0 / 413.7 MB, free: 4.699 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2839, allocations: 28.95 kB / 413.7 MB, free: 4.691 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.2843, allocations: 38.38 kB / 413.8 MB, free: 4.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2859, allocations: 1.731 MB / 415.5 MB, free: 3.211 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.2861, allocations: 0.7096 MB / 416.2 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.952e-05/0.2862, allocations: 15.05 kB / 416.2 MB, free: 2.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.2863, allocations: 37.33 kB / 416.3 MB, free: 2.473 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2863, allocations: 3.938 kB / 416.3 MB, free: 2.469 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3142, allocations: 2.805 MB / 419.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.134, allocations: 5.422 kB / 419.1 MB, free: 2.043 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD_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_InvertibleConfig_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1)