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 -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.001321/0.001321, 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.001379/0.001379, allocations: 195.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.475/1.475, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008263/0.008263, allocations: 1.325 MB / 291.7 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.89 kB / 355.4 MB, free: 14.74 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2922, allocations: 49.73 MB / 405.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002963/0.2952, allocations: 1.783 MB / 406.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.2961, allocations: 0.5386 MB / 407.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.2962, allocations: 1.438 kB / 407.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2963, allocations: 18.64 kB / 407.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/0.2964, allocations: 35.69 kB / 407.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2966, allocations: 84.52 kB / 407.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.2968, allocations: 158 kB / 407.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.297, allocations: 55.38 kB / 407.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.2971, allocations: 52.7 kB / 407.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.566e-05/0.2972, allocations: 56.34 kB / 407.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.2972, allocations: 9.625 kB / 407.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.27e-05/0.2973, allocations: 10.66 kB / 407.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.2973, allocations: 29 kB / 407.9 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.2974, allocations: 59.94 kB / 408 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.2975, allocations: 122.9 kB / 408.1 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2976, allocations: 5.5 kB / 408.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2976, allocations: 4 kB / 408.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2976, allocations: 0 / 408.1 MB, free: 9.969 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.0006048/0.2982, allocations: 446 kB / 408.6 MB, free: 9.555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2982, allocations: 9.688 kB / 408.6 MB, free: 9.555 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.2983, allocations: 48.19 kB / 408.6 MB, free: 9.504 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.2983, allocations: 15.88 kB / 408.6 MB, free: 9.496 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.2985, allocations: 212.3 kB / 408.8 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2986, allocations: 8.578 kB / 408.8 MB, free: 9.266 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.2986, allocations: 11.56 kB / 408.9 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.2989, allocations: 124.5 kB / 409 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2989, allocations: 0 / 409 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2989, allocations: 5.75 kB / 409 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2989, allocations: 5.25 kB / 409 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.2991, allocations: 70.02 kB / 409.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.2998, allocations: 0.5006 MB / 409.6 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3, allocations: 69.77 kB / 409.6 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3001, allocations: 36.42 kB / 409.7 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3002, allocations: 4.969 kB / 409.7 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.3002, allocations: 32.23 kB / 409.7 MB, free: 8.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3002, allocations: 4 kB / 409.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004131/0.3006, allocations: 127.6 kB / 409.8 MB, free: 8.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.3007, allocations: 53.19 kB / 409.9 MB, free: 8.508 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3008, allocations: 182.6 kB / 410.1 MB, free: 8.375 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.3008, allocations: 25.7 kB / 410.1 MB, free: 8.344 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.3009, allocations: 119.5 kB / 410.2 MB, free: 8.234 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.3009, allocations: 28.08 kB / 410.2 MB, free: 8.211 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.3009, allocations: 30.69 kB / 410.3 MB, free: 8.188 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.301, allocations: 324.9 kB / 410.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.3011, allocations: 32.89 kB / 410.6 MB, free: 7.859 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.3012, allocations: 60.3 kB / 410.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.3015, allocations: 88.17 kB / 410.7 MB, free: 7.777 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3015, allocations: 0.6562 kB / 410.7 MB, free: 7.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002766/0.3018, allocations: 137.4 kB / 410.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3018, allocations: 10.7 kB / 410.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3018, allocations: 4.062 kB / 410.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3018, allocations: 2.188 kB / 410.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.302, allocations: 32.84 kB / 410.9 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.302, allocations: 1.5 kB / 410.9 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.481e-05/0.3021, allocations: 20.59 kB / 411 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3021, allocations: 6.844 kB / 411 MB, free: 7.68 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.882e-05/0.3022, allocations: 116.4 kB / 411.1 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.3022, allocations: 12.12 kB / 411.1 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.3023, allocations: 22.34 kB / 411.1 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3023, allocations: 1.469 kB / 411.1 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3023, allocations: 0.8438 kB / 411.1 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3023, allocations: 1.438 kB / 411.1 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.3028, allocations: 398.7 kB / 411.5 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3028, allocations: 0 / 411.5 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.303, allocations: 37.92 kB / 411.5 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.303, allocations: 1.328 kB / 411.5 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3031, allocations: 4.938 kB / 411.5 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006871/0.3038, allocations: 1.405 MB / 412.9 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3038, allocations: 6.125 kB / 413 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.3041, allocations: 233.5 kB / 413.2 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.3042, allocations: 96.27 kB / 413.3 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.3042, allocations: 5.391 kB / 413.3 MB, free: 5.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3043, allocations: 10.36 kB / 413.3 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3044, allocations: 4.891 kB / 413.3 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3044, allocations: 6.281 kB / 413.3 MB, free: 5.418 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.538e-05/0.3045, allocations: 130.9 kB / 413.4 MB, free: 5.324 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3045, allocations: 0 / 413.4 MB, free: 5.324 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3047, allocations: 20.94 kB / 413.5 MB, free: 5.324 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.0005142/0.3053, allocations: 0.7769 MB / 414.2 MB, free: 4.613 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.3055, allocations: 81.14 kB / 414.3 MB, free: 4.594 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3056, allocations: 0 / 414.3 MB, free: 4.594 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.3058, allocations: 48.83 kB / 414.4 MB, free: 4.582 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.3062, allocations: 47.75 kB / 414.4 MB, free: 4.566 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.308, allocations: 1.794 MB / 416.2 MB, free: 3.109 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.3082, allocations: 0.7106 MB / 416.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.895e-05/0.3083, allocations: 15.39 kB / 416.9 MB, free: 2.402 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.3083, allocations: 43.36 kB / 417 MB, free: 2.371 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3083, allocations: 3.938 kB / 417 MB, free: 2.367 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.3379, allocations: 3.099 MB / 420.1 MB, free: 1.922 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.964, allocations: 5.188 kB / 420.1 MB, free: 1.918 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)