Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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 -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_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.0013/0.0013, allocations: 108 kB / 15.61 MB, free: 152 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.001364/0.001364, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.00808/0.00808, allocations: 1.332 MB / 291.7 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 59.91 kB / 355.4 MB, free: 14.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2817, allocations: 49.73 MB / 405.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.00287/0.2846, allocations: 1.644 MB / 406.8 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.2855, allocations: 0.5097 MB / 407.3 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.365e-05/0.2856, allocations: 1.5 kB / 407.3 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.2857, allocations: 16.84 kB / 407.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.925e-05/0.2858, allocations: 24.75 kB / 407.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.2861, allocations: 81.66 kB / 407.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.2863, allocations: 116.4 kB / 407.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.2865, allocations: 37.5 kB / 407.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.2865, allocations: 36.62 kB / 407.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.2866, allocations: 37.83 kB / 407.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2867, allocations: 10.44 kB / 407.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.297e-05/0.2867, allocations: 6.281 kB / 407.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.2868, allocations: 20.06 kB / 407.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.2868, allocations: 39.41 kB / 407.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.287, allocations: 84.94 kB / 407.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.287, allocations: 0.6094 kB / 407.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.287, allocations: 0 / 407.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.2871, allocations: 0 / 407.8 MB, free: 10.17 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.0005032/0.2876, allocations: 413.2 kB / 408.2 MB, free: 9.766 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2876, allocations: 17.7 kB / 408.2 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.2877, allocations: 39.19 kB / 408.2 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.2877, allocations: 11.38 kB / 408.2 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.2879, allocations: 211.1 kB / 408.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2879, allocations: 4.312 kB / 408.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.288, allocations: 17.03 kB / 408.5 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.2882, allocations: 88.47 kB / 408.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2882, allocations: 5.188 kB / 408.6 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2882, allocations: 5.125 kB / 408.6 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.2882, allocations: 5.891 kB / 408.6 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.374e-05/0.2883, allocations: 31.48 kB / 408.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.289, allocations: 0.5155 MB / 409.1 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.627e-05/0.2891, allocations: 32.7 kB / 409.1 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.2891, allocations: 18.64 kB / 409.2 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.2892, allocations: 0.75 kB / 409.2 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.2892, allocations: 36.22 kB / 409.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.2892, allocations: 0 / 409.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002051/0.2894, allocations: 57.66 kB / 409.3 MB, free: 8.766 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.2895, allocations: 57.41 kB / 409.3 MB, free: 8.699 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2896, allocations: 181 kB / 409.5 MB, free: 8.566 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.2897, allocations: 25.7 kB / 409.5 MB, free: 8.535 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.2897, allocations: 122.2 kB / 409.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.2898, allocations: 15.05 kB / 409.6 MB, free: 8.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.2899, allocations: 36.52 kB / 409.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.2899, allocations: 320.6 kB / 410 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-05/0.29, allocations: 26.47 kB / 410 MB, free: 8.055 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.2901, allocations: 79.73 kB / 410.1 MB, free: 7.973 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2903, allocations: 100.6 kB / 410.2 MB, free: 7.875 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2903, allocations: 1.188 kB / 410.2 MB, free: 7.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002752/0.2906, allocations: 137.2 kB / 410.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2906, allocations: 7.25 kB / 410.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2906, allocations: 2.922 kB / 410.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.2906, allocations: 1.281 kB / 410.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2908, allocations: 33.09 kB / 410.4 MB, free: 7.789 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2908, allocations: 3.5 kB / 410.4 MB, free: 7.789 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2909, allocations: 21.59 kB / 410.4 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.291, allocations: 6.312 kB / 410.4 MB, free: 7.773 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 7.9e-05/0.2911, allocations: 122.9 kB / 410.5 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.2911, allocations: 20.91 kB / 410.5 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.2912, allocations: 12.09 kB / 410.6 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2912, allocations: 1.469 kB / 410.6 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2912, allocations: 0 / 410.6 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2912, allocations: 2.094 kB / 410.6 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.2916, allocations: 319.5 kB / 410.9 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2916, allocations: 3.938 kB / 410.9 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.2917, allocations: 14.81 kB / 410.9 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2917, allocations: 3.938 kB / 410.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2917, allocations: 1.531 kB / 410.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2917, allocations: 0.7031 kB / 410.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2918, allocations: 1.344 kB / 410.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.2919, allocations: 173.9 kB / 411.1 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.292, allocations: 86.56 kB / 411.2 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.292, allocations: 5.109 kB / 411.2 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2922, allocations: 1.438 kB / 411.2 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.2922, allocations: 9.891 kB / 411.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.2922, allocations: 1.219 kB / 411.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.2923, allocations: 121.6 kB / 411.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2923, allocations: 0 / 411.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.2928, allocations: 18.47 kB / 411.3 MB, free: 6.922 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.0003475/0.2932, allocations: 0.7023 MB / 412 MB, free: 6.234 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.2934, allocations: 57.67 kB / 412.1 MB, free: 6.215 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2934, allocations: 0 / 412.1 MB, free: 6.215 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.2934, allocations: 11.08 kB / 412.1 MB, free: 6.211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.2941, allocations: 40.22 kB / 412.1 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.2954, allocations: 1.725 MB / 413.8 MB, free: 4.668 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.2956, allocations: 0.6996 MB / 414.5 MB, free: 3.973 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.614e-05/0.2956, allocations: 21.17 kB / 414.6 MB, free: 3.961 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.2957, allocations: 26.83 kB / 414.6 MB, free: 3.941 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2957, allocations: 0 / 414.6 MB, free: 3.941 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3222, allocations: 2.489 MB / 417.1 MB, free: 3.543 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.801, allocations: 14.38 kB / 417.1 MB, free: 3.531 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1)