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.005725/0.005725, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001374/0.001374, allocations: 201 kB / 16.68 MB, free: 5.965 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008502/0.008502, allocations: 1.327 MB / 291.9 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 59.88 kB / 406.5 MB, free: 7.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09363, allocations: 49.74 MB / 456.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.002987/0.09666, allocations: 1.689 MB / 457.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.0976, allocations: 0.5339 MB / 458.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.09768, allocations: 4 kB / 458.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.09781, allocations: 15.8 kB / 458.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.369e-05/0.09789, allocations: 27.72 kB / 458.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.09811, allocations: 91.77 kB / 458.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.09833, allocations: 151.5 kB / 458.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.09847, allocations: 57.98 kB / 458.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.09854, allocations: 43.8 kB / 458.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.267e-05/0.09864, allocations: 51.72 kB / 458.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.09867, allocations: 8 kB / 458.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.874e-05/0.0987, allocations: 12 kB / 458.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.09873, allocations: 27.86 kB / 459 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.09881, allocations: 59.66 kB / 459 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.09899, allocations: 119.5 kB / 459.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.099, allocations: 0 / 459.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09901, allocations: 0 / 459.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.09903, allocations: 0 / 459.1 MB, free: 13.93 MB / 334.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.0005757/0.09961, allocations: 442.7 kB / 459.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.09965, allocations: 16.03 kB / 459.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.09972, allocations: 38.92 kB / 459.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.09976, allocations: 16.84 kB / 459.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.09998, allocations: 208.1 kB / 459.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1, allocations: 8.562 kB / 459.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1, allocations: 12.12 kB / 459.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1002, allocations: 102.6 kB / 460 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1002, allocations: 0 / 460 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1003, allocations: 8 kB / 460 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1003, allocations: 4 kB / 460 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.942e-05/0.1004, allocations: 47.91 kB / 460 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/0.1011, allocations: 0.4927 MB / 460.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1012, allocations: 58.56 kB / 460.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.1013, allocations: 24.97 kB / 460.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.1013, allocations: 4 kB / 460.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.31e-05/0.1014, allocations: 34.5 kB / 460.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1014, allocations: 0 / 460.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000204/0.1016, allocations: 93.75 kB / 460.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1016, allocations: 51.41 kB / 460.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.1018, allocations: 169.2 kB / 460.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1019, allocations: 25.7 kB / 461 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.404e-05/0.102, allocations: 127.8 kB / 461.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.102, allocations: 19.86 kB / 461.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.102, allocations: 29.7 kB / 461.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1022, allocations: 326.8 kB / 461.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.1023, allocations: 19.94 kB / 461.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.1023, allocations: 59.3 kB / 461.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1024, allocations: 67.38 kB / 461.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1025, allocations: 0 / 461.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001747/0.1026, allocations: 109.5 kB / 461.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1027, allocations: 12.03 kB / 461.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1027, allocations: 4 kB / 461.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1027, allocations: 0 / 461.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.1029, allocations: 36.22 kB / 461.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.1041, allocations: 1.408 MB / 463.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.1041, allocations: 11.92 kB / 463.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1041, allocations: 4 kB / 463.2 MB, free: 9.477 MB / 334.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 0.0001059/0.1042, allocations: 125 kB / 463.3 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1043, allocations: 11.89 kB / 463.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.1043, allocations: 21.39 kB / 463.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1043, allocations: 0 / 463.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.1043, allocations: 0 / 463.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1043, allocations: 0 / 463.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.1048, allocations: 379.2 kB / 463.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1048, allocations: 0 / 463.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.105, allocations: 35.95 kB / 463.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.105, allocations: 0 / 463.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.105, allocations: 7.984 kB / 463.7 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.106, allocations: 1.397 MB / 465.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/0.106, allocations: 4.031 kB / 465.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1063, allocations: 208.4 kB / 465.3 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.1063, allocations: 93.02 kB / 465.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1064, allocations: 0 / 465.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.1064, allocations: 7.938 kB / 465.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.1065, allocations: 7.984 kB / 465.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1065, allocations: 3.938 kB / 465.5 MB, free: 6.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.736e-05/0.1066, allocations: 120 kB / 465.6 MB, free: 6.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1066, allocations: 0 / 465.6 MB, free: 6.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1069, allocations: 27.95 kB / 465.6 MB, free: 6.805 MB / 334.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.000555/0.1074, allocations: 0.7372 MB / 466.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1077, allocations: 71.86 kB / 466.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1077, allocations: 4.25 kB / 466.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1078, allocations: 32.2 kB / 466.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.1082, allocations: 49.66 kB / 466.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.1101, allocations: 1.723 MB / 468.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1105, allocations: 0.7156 MB / 468.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.794e-05/0.1106, allocations: 16.55 kB / 468.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.1106, allocations: 39.42 kB / 469 MB, free: 3.266 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1107, allocations: 0 / 469 MB, free: 3.266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.1355, allocations: 2.942 MB / 471.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.412, allocations: 4.438 kB / 471.9 MB, free: 0.5117 MB / 334.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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1)