Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS since it seems broken on HelloWorld Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_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.001559/0.001559, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001532/0.001532, allocations: 195.1 kB / 16.26 MB, free: 6.637 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.007759/0.007759, allocations: 1.326 MB / 291.4 MB, free: 1.191 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002287, allocations: 71.88 kB / 354.8 MB, free: 15.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2964, allocations: 49.72 MB / 404.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003287/0.2997, allocations: 1.865 MB / 406.4 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.3007, allocations: 0.5385 MB / 407 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.3008, allocations: 3.938 kB / 407 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.301, allocations: 15.81 kB / 407 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.301, allocations: 28.25 kB / 407 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.3013, allocations: 77.22 kB / 407.1 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.3015, allocations: 169.2 kB / 407.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.3017, allocations: 52.23 kB / 407.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.446e-05/0.3018, allocations: 52.02 kB / 407.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.3019, allocations: 56.94 kB / 407.4 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.3019, allocations: 9.469 kB / 407.4 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.3019, allocations: 9.812 kB / 407.4 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.302, allocations: 32.41 kB / 407.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.302, allocations: 60.03 kB / 407.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.3022, allocations: 128 kB / 407.7 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3022, allocations: 0.9688 kB / 407.7 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3022, allocations: 0 / 407.7 MB, free: 9.871 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3023, allocations: 0 / 407.7 MB, free: 9.871 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000584/0.3028, allocations: 446.5 kB / 408.1 MB, free: 9.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3029, allocations: 14.81 kB / 408.1 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.3029, allocations: 42.83 kB / 408.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.303, allocations: 16.16 kB / 408.2 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3032, allocations: 209.3 kB / 408.4 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3032, allocations: 8.156 kB / 408.4 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3032, allocations: 7.688 kB / 408.4 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.3035, allocations: 130.5 kB / 408.5 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3035, allocations: 3.938 kB / 408.5 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3035, allocations: 5.781 kB / 408.5 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3035, allocations: 1.812 kB / 408.5 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.3037, allocations: 62 kB / 408.6 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.3044, allocations: 0.5027 MB / 409.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.3046, allocations: 78.72 kB / 409.2 MB, free: 8.594 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3048, allocations: 35.7 kB / 409.2 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3048, allocations: 1.859 kB / 409.2 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3048, allocations: 31.72 kB / 409.2 MB, free: 8.539 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3048, allocations: 0 / 409.2 MB, free: 8.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004121/0.3052, allocations: 132.6 kB / 409.4 MB, free: 8.473 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.3053, allocations: 57.14 kB / 409.4 MB, free: 8.406 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3054, allocations: 181.4 kB / 409.6 MB, free: 8.273 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.3055, allocations: 26.8 kB / 409.6 MB, free: 8.242 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.3055, allocations: 123.6 kB / 409.7 MB, free: 8.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.3056, allocations: 20.17 kB / 409.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.3056, allocations: 29.12 kB / 409.8 MB, free: 8.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.3057, allocations: 329.7 kB / 410.1 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3058, allocations: 32.05 kB / 410.1 MB, free: 7.758 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3059, allocations: 63.81 kB / 410.2 MB, free: 7.711 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.3061, allocations: 101.5 kB / 410.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3062, allocations: 1.156 kB / 410.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002885/0.3064, allocations: 153.3 kB / 410.4 MB, free: 7.562 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.3065, allocations: 11.03 kB / 410.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3065, allocations: 2.344 kB / 410.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3065, allocations: 1.609 kB / 410.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.3068, allocations: 37.45 kB / 410.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007235/0.3075, allocations: 1.406 MB / 411.9 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.3076, allocations: 24.5 kB / 411.9 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3076, allocations: 4.094 kB / 411.9 MB, free: 6.078 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 12 * 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 prepare postOptimizeDAE: time 7.692e-05/0.3077, allocations: 127.7 kB / 412.1 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.3077, allocations: 9.25 kB / 412.1 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.3078, allocations: 14.09 kB / 412.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3078, allocations: 1.219 kB / 412.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.3078, allocations: 0 / 412.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3078, allocations: 0.6562 kB / 412.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.3083, allocations: 407.7 kB / 412.5 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3083, allocations: 96 / 412.5 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.3085, allocations: 38.67 kB / 412.5 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3085, allocations: 1.188 kB / 412.5 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3085, allocations: 1.781 kB / 412.5 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006113/0.3091, allocations: 1.409 MB / 413.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3092, allocations: 0 / 413.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.3095, allocations: 242.9 kB / 414.2 MB, free: 3.926 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.3096, allocations: 96.31 kB / 414.3 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.3096, allocations: 1.984 kB / 414.3 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3097, allocations: 6.562 kB / 414.3 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.3097, allocations: 4.906 kB / 414.3 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3098, allocations: 1.344 kB / 414.3 MB, free: 3.82 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.03e-05/0.3098, allocations: 129.9 kB / 414.4 MB, free: 3.727 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3099, allocations: 0 / 414.4 MB, free: 3.727 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3101, allocations: 26.06 kB / 414.4 MB, free: 3.723 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 (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.0005518/0.3107, allocations: 0.7735 MB / 415.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003807/0.3111, allocations: 98.5 kB / 415.3 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3111, allocations: 1.062 kB / 415.3 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.3113, allocations: 45.16 kB / 415.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.3118, allocations: 37.47 kB / 415.4 MB, free: 2.973 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3137, allocations: 1.869 MB / 417.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.3139, allocations: 0.7084 MB / 418 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.461e-05/0.314, allocations: 14.8 kB / 418 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.3141, allocations: 46.91 kB / 418 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3141, allocations: 0 / 418 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.3343, allocations: 2.996 MB / 421 MB, free: 388 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.3346, allocations: 247.6 kB / 421.3 MB, free: 124 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.094, allocations: 0 / 421.3 MB, free: 124 kB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1)