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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 209 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo): time 0.008414/0.008414, allocations: 1.347 MB / 313.8 MB, free: 1.848 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 440.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1029, allocations: 53.67 MB / 493.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003253/0.1062, allocations: 1.727 MB / 495.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1073, allocations: 0.5805 MB / 496.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.1074, allocations: 4 kB / 496.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.1075, allocations: 19.8 kB / 496.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.1076, allocations: 31.72 kB / 496.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1079, allocations: 83.88 kB / 496.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.1081, allocations: 151.4 kB / 496.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1082, allocations: 41.98 kB / 496.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.1083, allocations: 47.78 kB / 496.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1084, allocations: 47.72 kB / 496.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.1084, allocations: 12 kB / 496.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.189e-05/0.1084, allocations: 8 kB / 496.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.1085, allocations: 31.8 kB / 496.7 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.1085, allocations: 59.67 kB / 496.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1087, allocations: 119.5 kB / 496.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1087, allocations: 3.938 kB / 496.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1087, allocations: 0 / 496.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1087, allocations: 0 / 496.8 MB, free: 3.551 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.0005861/0.1093, allocations: 357.7 kB / 497.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1094, allocations: 16.02 kB / 497.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.811e-05/0.1094, allocations: 42.94 kB / 497.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1095, allocations: 12.84 kB / 497.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1097, allocations: 162.2 kB / 497.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1097, allocations: 8.562 kB / 497.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.1097, allocations: 16.12 kB / 497.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1099, allocations: 101 kB / 497.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1099, allocations: 4 kB / 497.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.11, allocations: 4 kB / 497.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.11, allocations: 0 / 497.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.657e-05/0.1101, allocations: 43.98 kB / 497.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007509/0.1108, allocations: 467.8 kB / 498.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1109, allocations: 62.5 kB / 498.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.111, allocations: 28.97 kB / 498.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.111, allocations: 0 / 498.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.111, allocations: 34.56 kB / 498.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.111, allocations: 0 / 498.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002454/0.1113, allocations: 85.58 kB / 498.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1113, allocations: 51.41 kB / 498.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1115, allocations: 166.6 kB / 498.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1115, allocations: 29.7 kB / 498.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.1116, allocations: 131.9 kB / 498.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.1116, allocations: 15.8 kB / 498.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1117, allocations: 29.7 kB / 498.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1118, allocations: 326.8 kB / 499 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.962e-05/0.1119, allocations: 20.25 kB / 499 MB, free: 1.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.1119, allocations: 47.36 kB / 499.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.112, allocations: 83.31 kB / 499.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.112, allocations: 0 / 499.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001735/0.1122, allocations: 109.5 kB / 499.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1122, allocations: 8 kB / 499.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1122, allocations: 96 / 499.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1122, allocations: 4 kB / 499.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.1125, allocations: 39.97 kB / 499.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.1137, allocations: 1.301 MB / 0.4889 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/0.1138, allocations: 15.92 kB / 0.4889 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.1138, allocations: 0 / 0.4889 GB, free: 15.44 MB / 366.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.0001145/0.1139, allocations: 125.8 kB / 0.489 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.1139, allocations: 19.94 kB / 0.489 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.114, allocations: 17.39 kB / 0.489 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.114, allocations: 0 / 0.489 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.114, allocations: 0 / 0.489 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.114, allocations: 0 / 0.489 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.1144, allocations: 342.4 kB / 0.4894 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1144, allocations: 0 / 0.4894 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.1146, allocations: 31.98 kB / 0.4894 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1146, allocations: 4.031 kB / 0.4894 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1146, allocations: 3.984 kB / 0.4894 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.1157, allocations: 1.301 MB / 0.4907 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1157, allocations: 4.031 kB / 0.4907 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.1159, allocations: 192.3 kB / 0.4909 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.1159, allocations: 20.08 kB / 0.4909 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1159, allocations: 7.938 kB / 0.4909 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.116, allocations: 3.938 kB / 0.4909 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.116, allocations: 11.98 kB / 0.4909 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.116, allocations: 0 / 0.4909 GB, free: 13.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1161, allocations: 120 kB / 0.491 GB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1161, allocations: 0 / 0.491 GB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1164, allocations: 27.94 kB / 0.491 GB, free: 13.04 MB / 366.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.000513/0.1169, allocations: 0.7328 MB / 0.4918 GB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.1172, allocations: 67.84 kB / 0.4918 GB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1172, allocations: 7.938 kB / 0.4918 GB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1173, allocations: 32.3 kB / 0.4919 GB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1178, allocations: 43.77 kB / 0.4919 GB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.1197, allocations: 1.734 MB / 0.4936 GB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1201, allocations: 0.708 MB / 0.4943 GB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.1201, allocations: 16.47 kB / 0.4943 GB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.1202, allocations: 43.41 kB / 0.4943 GB, free: 9.504 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1202, allocations: 8 kB / 0.4944 GB, free: 9.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.1497, allocations: 3.108 MB / 0.4974 GB, free: 6.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.26, allocations: 7.922 kB / 0.4974 GB, free: 6.547 MB / 366.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.20945419200143] Failed to read output from testmodel.py, exit status != 0: 11.37005501400563 11.579580873 11.466321565 Calling exit ...