Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_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.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_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.00128/0.00128, allocations: 108 kB / 15.6 MB, free: 132 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.001267/0.001267, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.43/1.43, 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.008344/0.008344, allocations: 1.33 MB / 291.7 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002114, allocations: 67.89 kB / 356.1 MB, free: 14.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2853, allocations: 49.72 MB / 405.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003863/0.2892, allocations: 1.707 MB / 407.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2904, allocations: 0.5294 MB / 408 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.2906, allocations: 1.844 kB / 408 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.2908, allocations: 17.59 kB / 408.1 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.291, allocations: 31.77 kB / 408.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.2913, allocations: 87.34 kB / 408.2 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.2917, allocations: 146.4 kB / 408.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.2919, allocations: 49.5 kB / 408.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.292, allocations: 45.38 kB / 408.4 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2921, allocations: 52.94 kB / 408.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.2922, allocations: 10.84 kB / 408.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.2922, allocations: 8.562 kB / 408.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.2922, allocations: 26.64 kB / 408.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.003e-05/0.2923, allocations: 59.39 kB / 408.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.2926, allocations: 117.5 kB / 408.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2926, allocations: 0 / 408.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2926, allocations: 0 / 408.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.2926, allocations: 1.156 kB / 408.7 MB, free: 10.39 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.0006447/0.2932, allocations: 435.2 kB / 409.1 MB, free: 9.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2933, allocations: 10.41 kB / 409.1 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/0.2934, allocations: 52.11 kB / 409.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.2934, allocations: 12.09 kB / 409.2 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.2936, allocations: 198.5 kB / 409.4 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2936, allocations: 9.125 kB / 409.4 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.2937, allocations: 19.47 kB / 409.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2939, allocations: 102.4 kB / 409.5 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2939, allocations: 8.984 kB / 409.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2939, allocations: 1.125 kB / 409.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.2939, allocations: 2.219 kB / 409.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.294, allocations: 48.64 kB / 409.6 MB, free: 9.598 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.2947, allocations: 0.4981 MB / 410.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.2949, allocations: 60.25 kB / 410.1 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.2949, allocations: 23.81 kB / 410.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.295, allocations: 1.656 kB / 410.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.295, allocations: 31.44 kB / 410.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 2.614e-06/0.295, allocations: 1.062 kB / 410.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002343/0.2952, allocations: 89.8 kB / 410.3 MB, free: 9.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.2953, allocations: 56.69 kB / 410.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2954, allocations: 158.8 kB / 410.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.2954, allocations: 35.05 kB / 410.5 MB, free: 8.789 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.2955, allocations: 118.9 kB / 410.6 MB, free: 8.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.2955, allocations: 24.27 kB / 410.7 MB, free: 8.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.2956, allocations: 28.61 kB / 410.7 MB, free: 8.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.2956, allocations: 324.5 kB / 411 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.2957, allocations: 21.75 kB / 411 MB, free: 8.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.2957, allocations: 52.22 kB / 411.1 MB, free: 8.262 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.947e-05/0.2958, allocations: 69.92 kB / 411.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2958, allocations: 1.219 kB / 411.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001397/0.296, allocations: 105.8 kB / 411.2 MB, free: 8.145 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.296, allocations: 4.984 kB / 411.2 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.296, allocations: 1.156 kB / 411.2 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.296, allocations: 2.219 kB / 411.3 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.2963, allocations: 39.33 kB / 411.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007098/0.297, allocations: 1.418 MB / 412.7 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.2971, allocations: 10.25 kB / 412.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2971, allocations: 3.406 kB / 412.7 MB, free: 6.656 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * 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 6.771e-05/0.2972, allocations: 123.3 kB / 412.8 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.2972, allocations: 12.53 kB / 412.9 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.2972, allocations: 13.06 kB / 412.9 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2972, allocations: 6.312 kB / 412.9 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.2972, allocations: 0 / 412.9 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2972, allocations: 5.25 kB / 412.9 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.2976, allocations: 378.2 kB / 413.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2976, allocations: 1.641 kB / 413.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.2978, allocations: 32.02 kB / 413.3 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2978, allocations: 1.375 kB / 413.3 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2978, allocations: 0 / 413.3 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005662/0.2984, allocations: 1.401 MB / 414.7 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2984, allocations: 6.109 kB / 414.7 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.2986, allocations: 198.9 kB / 414.9 MB, free: 4.523 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.2986, allocations: 95.55 kB / 415 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2986, allocations: 6.641 kB / 415 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.2987, allocations: 8.062 kB / 415 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.2988, allocations: 8.016 kB / 415 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.2988, allocations: 1.375 kB / 415 MB, free: 4.402 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.61e-05/0.2988, allocations: 124.5 kB / 415.1 MB, free: 4.312 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2988, allocations: 0 / 415.1 MB, free: 4.312 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.2991, allocations: 25.23 kB / 415.1 MB, free: 4.309 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.0003158/0.2994, allocations: 0.7372 MB / 415.9 MB, free: 3.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.2997, allocations: 67.39 kB / 415.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2997, allocations: 0 / 415.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.2998, allocations: 32.45 kB / 416 MB, free: 3.578 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.3002, allocations: 47.33 kB / 416 MB, free: 3.559 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.3017, allocations: 1.716 MB / 417.7 MB, free: 2.09 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3019, allocations: 0.7099 MB / 418.5 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.256e-05/0.302, allocations: 14.81 kB / 418.5 MB, free: 1.387 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.302, allocations: 41.31 kB / 418.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3021, allocations: 0 / 418.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.3292, allocations: 2.909 MB / 421.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.952, allocations: 7.781 kB / 421.4 MB, free: 0.9258 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1)