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 -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_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.00128/0.00128, 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.00122/0.00122, allocations: 189.1 kB / 16.25 MB, free: 6.59 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.007875/0.007875, allocations: 1.333 MB / 291.4 MB, free: 1.164 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 71.88 kB / 354.8 MB, free: 15.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3099, allocations: 49.72 MB / 404.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002892/0.3129, allocations: 1.862 MB / 406.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007869/0.3137, allocations: 0.5345 MB / 407 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.3138, allocations: 2.031 kB / 407 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.3139, allocations: 14.86 kB / 407 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.314, allocations: 30.81 kB / 407 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.3142, allocations: 84.78 kB / 407.1 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.3144, allocations: 152.6 kB / 407.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3146, allocations: 53.61 kB / 407.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.3147, allocations: 47.09 kB / 407.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.3148, allocations: 64.89 kB / 407.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3148, allocations: 9.812 kB / 407.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.3148, allocations: 10.5 kB / 407.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.3149, allocations: 24.42 kB / 407.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.3149, allocations: 60.05 kB / 407.5 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.3151, allocations: 127.9 kB / 407.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3151, allocations: 0 / 407.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3151, allocations: 0.8438 kB / 407.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3151, allocations: 0 / 407.6 MB, free: 9.887 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.0005496/0.3157, allocations: 450.4 kB / 408.1 MB, free: 9.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3157, allocations: 8.562 kB / 408.1 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.3158, allocations: 44.2 kB / 408.1 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.3158, allocations: 16.09 kB / 408.1 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.316, allocations: 212.6 kB / 408.3 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.316, allocations: 9.875 kB / 408.4 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.316, allocations: 6.438 kB / 408.4 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.3163, allocations: 132 kB / 408.5 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3163, allocations: 3.984 kB / 408.5 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3163, allocations: 10.55 kB / 408.5 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3163, allocations: 1.969 kB / 408.5 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.3166, allocations: 65.86 kB / 408.6 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.3172, allocations: 0.5022 MB / 409.1 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.3174, allocations: 73.55 kB / 409.1 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3175, allocations: 37.3 kB / 409.2 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.3176, allocations: 1.031 kB / 409.2 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3176, allocations: 39.62 kB / 409.2 MB, free: 8.539 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3176, allocations: 0 / 409.2 MB, free: 8.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003942/0.318, allocations: 128.9 kB / 409.3 MB, free: 8.477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.318, allocations: 53.09 kB / 409.4 MB, free: 8.414 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3182, allocations: 181.4 kB / 409.6 MB, free: 8.281 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.3182, allocations: 26.77 kB / 409.6 MB, free: 8.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.3183, allocations: 123.4 kB / 409.7 MB, free: 8.137 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.3183, allocations: 16.05 kB / 409.7 MB, free: 8.125 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.3183, allocations: 29.86 kB / 409.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.796e-05/0.3184, allocations: 329.5 kB / 410.1 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3185, allocations: 34.08 kB / 410.1 MB, free: 7.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.3186, allocations: 55.89 kB / 410.2 MB, free: 7.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3188, allocations: 87.92 kB / 410.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3188, allocations: 0.9375 kB / 410.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002688/0.3191, allocations: 137.8 kB / 410.4 MB, free: 7.617 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3191, allocations: 9.406 kB / 410.4 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3191, allocations: 1.125 kB / 410.4 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3192, allocations: 1.734 kB / 410.4 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3193, allocations: 36.41 kB / 410.4 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3193, allocations: 2.922 kB / 410.4 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.3194, allocations: 19.25 kB / 410.5 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3194, allocations: 4.328 kB / 410.5 MB, free: 7.594 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 (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.297e-05/0.3195, allocations: 115.5 kB / 410.6 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.3195, allocations: 16.92 kB / 410.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3196, allocations: 14.69 kB / 410.6 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3196, allocations: 1.344 kB / 410.6 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3196, allocations: 4 kB / 410.6 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3196, allocations: 0.8906 kB / 410.6 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.3201, allocations: 394.8 kB / 411 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3201, allocations: 1.875 kB / 411 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.3203, allocations: 29.25 kB / 411 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3203, allocations: 5.031 kB / 411 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3203, allocations: 9.188 kB / 411 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007008/0.321, allocations: 1.413 MB / 412.5 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.321, allocations: 1.25 kB / 412.5 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.3214, allocations: 240.9 kB / 412.7 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.3214, allocations: 96.28 kB / 412.8 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3215, allocations: 6.953 kB / 412.8 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.3216, allocations: 13.75 kB / 412.8 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3216, allocations: 4.75 kB / 412.8 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3216, allocations: 2.75 kB / 412.8 MB, free: 5.324 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.408e-05/0.3217, allocations: 126 kB / 412.9 MB, free: 5.234 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3217, allocations: 4.062 kB / 412.9 MB, free: 5.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.322, allocations: 19.47 kB / 413 MB, free: 5.23 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.0005095/0.3225, allocations: 0.778 MB / 413.7 MB, free: 4.52 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.3228, allocations: 80.19 kB / 413.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3228, allocations: 0 / 413.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.323, allocations: 49.86 kB / 413.9 MB, free: 4.488 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.3236, allocations: 46.03 kB / 413.9 MB, free: 4.477 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.3258, allocations: 1.834 MB / 415.7 MB, free: 2.98 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3259, allocations: 0.711 MB / 416.5 MB, free: 2.281 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.792e-05/0.326, allocations: 14.31 kB / 416.5 MB, free: 2.273 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.3261, allocations: 38.09 kB / 416.5 MB, free: 2.246 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3261, allocations: 0 / 416.5 MB, free: 2.246 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.346, allocations: 2.955 MB / 419.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.3462, allocations: 254 kB / 419.7 MB, free: 1.668 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.24, allocations: 3.094 kB / 419.7 MB, free: 1.668 MB / 286.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1)