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 -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.005707/0.005707, allocations: 102.4 kB / 15.73 MB, free: 5.508 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.001514/0.001514, allocations: 197.3 kB / 16.68 MB, free: 5.438 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008158/0.008158, allocations: 1.323 MB / 291.9 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 60.08 kB / 405.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2591, allocations: 49.72 MB / 455.5 MB, free: 23.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002529/0.2616, allocations: 1.79 MB / 457.3 MB, free: 22.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.2624, allocations: 0.5509 MB / 457.9 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.12e-05/0.2625, allocations: 0 / 457.9 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2627, allocations: 26.39 kB / 457.9 MB, free: 21.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.2628, allocations: 26.17 kB / 457.9 MB, free: 21.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.263, allocations: 89.06 kB / 458 MB, free: 21.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.2632, allocations: 170.9 kB / 458.2 MB, free: 21.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2634, allocations: 50.16 kB / 458.2 MB, free: 21.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.947e-05/0.2634, allocations: 53.48 kB / 458.3 MB, free: 21.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.2635, allocations: 54.7 kB / 458.3 MB, free: 21.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.2636, allocations: 9.688 kB / 458.4 MB, free: 21.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.311e-05/0.2636, allocations: 16.69 kB / 458.4 MB, free: 21.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.2636, allocations: 26.39 kB / 458.4 MB, free: 21.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.2637, allocations: 65.55 kB / 458.5 MB, free: 21.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.2639, allocations: 134.5 kB / 458.6 MB, free: 21.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2639, allocations: 3.328 kB / 458.6 MB, free: 21.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2639, allocations: 3.062 kB / 458.6 MB, free: 21.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2639, allocations: 0 / 458.6 MB, free: 21.47 MB / 350.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.0005723/0.2645, allocations: 451.4 kB / 459 MB, free: 21.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2645, allocations: 9.844 kB / 459.1 MB, free: 21.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.2645, allocations: 41.59 kB / 459.1 MB, free: 21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.2646, allocations: 18.59 kB / 459.1 MB, free: 20.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.2648, allocations: 208.5 kB / 459.3 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.2648, allocations: 10.44 kB / 459.3 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.2648, allocations: 10.44 kB / 459.3 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.2651, allocations: 126.1 kB / 459.5 MB, free: 20.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2651, allocations: 4 kB / 459.5 MB, free: 20.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2651, allocations: 4 kB / 459.5 MB, free: 20.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2651, allocations: 2.969 kB / 459.5 MB, free: 20.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.2653, allocations: 62.97 kB / 459.5 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.266, allocations: 0.506 MB / 460 MB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.2662, allocations: 67.7 kB / 460.1 MB, free: 20.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.2663, allocations: 36.52 kB / 460.1 MB, free: 20.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2663, allocations: 3.094 kB / 460.1 MB, free: 20.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2664, allocations: 38.56 kB / 460.2 MB, free: 20.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2664, allocations: 0 / 460.2 MB, free: 20.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003945/0.2668, allocations: 129.5 kB / 460.3 MB, free: 20.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.2668, allocations: 54.56 kB / 460.4 MB, free: 20.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2669, allocations: 170.9 kB / 460.5 MB, free: 19.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.267, allocations: 25.7 kB / 460.5 MB, free: 19.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.267, allocations: 125.1 kB / 460.7 MB, free: 19.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.267, allocations: 19.17 kB / 460.7 MB, free: 19.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.2671, allocations: 30.75 kB / 460.7 MB, free: 19.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.2672, allocations: 320.5 kB / 461 MB, free: 19.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.2673, allocations: 32.47 kB / 461.1 MB, free: 19.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.2674, allocations: 74.11 kB / 461.1 MB, free: 19.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.2676, allocations: 100.1 kB / 461.2 MB, free: 19.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2676, allocations: 3.406 kB / 461.2 MB, free: 19.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002664/0.2679, allocations: 147 kB / 461.4 MB, free: 19.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2679, allocations: 7.094 kB / 461.4 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2679, allocations: 3.312 kB / 461.4 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.268, allocations: 3.469 kB / 461.4 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.2682, allocations: 38.48 kB / 461.4 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007495/0.269, allocations: 1.411 MB / 462.8 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/0.2691, allocations: 21.09 kB / 462.9 MB, free: 17.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.2691, allocations: 2.906 kB / 462.9 MB, free: 17.69 MB / 350.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.839e-05/0.2692, allocations: 131.4 kB / 463 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.2692, allocations: 13.72 kB / 463 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.2692, allocations: 12.78 kB / 463 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2692, allocations: 3.125 kB / 463 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.2693, allocations: 4.062 kB / 463 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2693, allocations: 3.938 kB / 463 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.2697, allocations: 403.9 kB / 463.4 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2697, allocations: 0 / 463.4 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2699, allocations: 31.11 kB / 463.5 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2699, allocations: 0 / 463.5 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2699, allocations: 2.719 kB / 463.5 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006133/0.2706, allocations: 1.41 MB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2706, allocations: 0 / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.2709, allocations: 234.7 kB / 465.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.271, allocations: 98.69 kB / 465.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.271, allocations: 3 kB / 465.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/0.2711, allocations: 5.766 kB / 465.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.2711, allocations: 10.47 kB / 465.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2712, allocations: 0 / 465.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.712e-05/0.2712, allocations: 125.4 kB / 465.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2712, allocations: 0 / 465.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.2715, allocations: 25.06 kB / 465.4 MB, free: 15.33 MB / 350.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.0005087/0.272, allocations: 0.7787 MB / 466.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.2724, allocations: 107 kB / 466.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2724, allocations: 0 / 466.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.2726, allocations: 44.14 kB / 466.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.2731, allocations: 39.7 kB / 466.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.275, allocations: 1.837 MB / 468.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.2751, allocations: 0.7078 MB / 468.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.043e-05/0.2752, allocations: 17.14 kB / 468.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.2753, allocations: 38.05 kB / 468.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2753, allocations: 0 / 468.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.3038, allocations: 3.191 MB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.027, allocations: 9.594 kB / 472.1 MB, free: 11.84 MB / 350.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)