Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_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 -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.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_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.001442/0.001442, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0014/0.0014, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008033/0.008033, allocations: 1.327 MB / 291.4 MB, free: 1.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 71.88 kB / 354.8 MB, free: 15.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2937, allocations: 49.72 MB / 404.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003167/0.2969, allocations: 2.033 MB / 406.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.2979, allocations: 0.5567 MB / 407.2 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.298, allocations: 2.844 kB / 407.2 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.2981, allocations: 20.28 kB / 407.2 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.741e-05/0.2982, allocations: 27.36 kB / 407.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.2984, allocations: 80.55 kB / 407.3 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.2986, allocations: 189.5 kB / 407.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.2988, allocations: 57.52 kB / 407.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/0.2989, allocations: 64.19 kB / 407.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.299, allocations: 66.33 kB / 407.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.299, allocations: 11.38 kB / 407.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.544e-05/0.2991, allocations: 13.06 kB / 407.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.2991, allocations: 28.38 kB / 407.7 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.2992, allocations: 79.59 kB / 407.8 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.2994, allocations: 145.9 kB / 407.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2994, allocations: 0 / 407.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2994, allocations: 1.375 kB / 407.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2994, allocations: 0 / 407.9 MB, free: 9.559 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005395/0.3, allocations: 463.5 kB / 408.4 MB, free: 9.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3, allocations: 14.44 kB / 408.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.3, allocations: 49.08 kB / 408.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.3001, allocations: 17.91 kB / 408.5 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.3003, allocations: 215.9 kB / 408.7 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.3003, allocations: 9.75 kB / 408.7 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.3003, allocations: 17.22 kB / 408.7 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.3005, allocations: 130.3 kB / 408.8 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.3006, allocations: 0 / 408.8 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3006, allocations: 6.219 kB / 408.8 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3006, allocations: 7.062 kB / 408.8 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3007, allocations: 60.53 kB / 408.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.3014, allocations: 0.5457 MB / 409.4 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.3016, allocations: 82.44 kB / 409.5 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.3017, allocations: 40.23 kB / 409.6 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3017, allocations: 9.375 kB / 409.6 MB, free: 8.211 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.3018, allocations: 36.39 kB / 409.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.011e-06/0.3018, allocations: 0 / 409.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002976/0.3021, allocations: 134.1 kB / 409.7 MB, free: 8.094 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.3021, allocations: 54.36 kB / 409.8 MB, free: 8.031 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3023, allocations: 180.8 kB / 410 MB, free: 7.902 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.3023, allocations: 25.7 kB / 410 MB, free: 7.871 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.3024, allocations: 130 kB / 410.1 MB, free: 7.754 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.3024, allocations: 30.22 kB / 410.1 MB, free: 7.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.3024, allocations: 37.45 kB / 410.2 MB, free: 7.703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.3025, allocations: 326.7 kB / 410.5 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.3026, allocations: 36.34 kB / 410.5 MB, free: 7.371 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.3027, allocations: 66.98 kB / 410.6 MB, free: 7.328 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3028, allocations: 99.25 kB / 410.7 MB, free: 7.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3029, allocations: 0 / 410.7 MB, free: 7.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002275/0.3031, allocations: 154 kB / 410.9 MB, free: 7.188 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3031, allocations: 4.562 kB / 410.9 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3031, allocations: 5.906 kB / 410.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3031, allocations: 1.25 kB / 410.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.3033, allocations: 43.28 kB / 410.9 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3033, allocations: 2.719 kB / 410.9 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.3034, allocations: 17.19 kB / 410.9 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.3034, allocations: 3.969 kB / 410.9 MB, free: 7.164 MB / 286.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 (18): * Single equations (assignments): 18 * 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.6e-05/0.3035, allocations: 120.7 kB / 411 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.3035, allocations: 18.73 kB / 411.1 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.3036, allocations: 17.98 kB / 411.1 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3036, allocations: 1.984 kB / 411.1 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3036, allocations: 4 kB / 411.1 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3036, allocations: 1.062 kB / 411.1 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.304, allocations: 423.5 kB / 411.5 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.304, allocations: 0 / 411.5 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.3043, allocations: 35.31 kB / 411.5 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3043, allocations: 1.094 kB / 411.5 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3043, allocations: 1.781 kB / 411.5 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00068/0.305, allocations: 1.406 MB / 412.9 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.305, allocations: 4.969 kB / 413 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.3053, allocations: 237.9 kB / 413.2 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.3053, allocations: 105.5 kB / 413.3 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.3054, allocations: 10.44 kB / 413.3 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.3055, allocations: 7.047 kB / 413.3 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3055, allocations: 10.19 kB / 413.3 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3055, allocations: 3.062 kB / 413.3 MB, free: 4.871 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.188e-05/0.3056, allocations: 130.2 kB / 413.4 MB, free: 4.781 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3056, allocations: 1.094 kB / 413.4 MB, free: 4.781 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3059, allocations: 27.41 kB / 413.5 MB, free: 4.777 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.0004479/0.3063, allocations: 0.7887 MB / 414.3 MB, free: 4.055 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.3065, allocations: 90.2 kB / 414.3 MB, free: 4.027 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3065, allocations: 8.125 kB / 414.4 MB, free: 4.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.3067, allocations: 43.67 kB / 414.4 MB, free: 4.012 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3072, allocations: 45.33 kB / 414.4 MB, free: 4 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3091, allocations: 1.986 MB / 416.4 MB, free: 2.406 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.3092, allocations: 0.717 MB / 417.1 MB, free: 1.711 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.258e-05/0.3093, allocations: 17.27 kB / 417.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.3094, allocations: 52.75 kB / 417.2 MB, free: 1.668 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3094, allocations: 0 / 417.2 MB, free: 1.668 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.329, allocations: 3.345 MB / 420.6 MB, free: 1.324 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.3293, allocations: 246.3 kB / 420.8 MB, free: 1.07 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.091, allocations: 4 kB / 420.8 MB, free: 1.066 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1)