Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.001366/0.001366, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001424/0.001424, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06545/0.06545, allocations: 11.33 MB / 323.8 MB, free: 8.242 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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) Running command: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems 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.002016/0.002016, allocations: 71.89 kB / 451 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1174, allocations: 56.07 MB / 0.4952 GB, free: 2.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003286/0.1207, allocations: 1.673 MB / 0.4968 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.1214, allocations: 306.9 kB / 0.4971 GB, free: 384 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.1214, allocations: 3.938 kB / 0.4971 GB, free: 380 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.1215, allocations: 11.88 kB / 0.4972 GB, free: 368 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.1216, allocations: 23.8 kB / 0.4972 GB, free: 344 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.122, allocations: 91.72 kB / 0.4973 GB, free: 252 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.1222, allocations: 131.7 kB / 0.4974 GB, free: 120 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1224, allocations: 18.02 kB / 0.4974 GB, free: 100 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.962e-05/0.1224, allocations: 51.73 kB / 0.4975 GB, free: 48 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1226, allocations: 71.7 kB / 0.4975 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.1226, allocations: 12 kB / 0.4975 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.204e-05/0.1227, allocations: 35.97 kB / 0.4976 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.1228, allocations: 35.75 kB / 0.4976 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.1228, allocations: 55.66 kB / 0.4977 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1231, allocations: 147.3 kB / 0.4978 GB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.1231, allocations: 7.938 kB / 0.4978 GB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1231, allocations: 4 kB / 0.4978 GB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1231, allocations: 0 / 0.4978 GB, free: 15.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007714/0.1239, allocations: 373.5 kB / 0.4982 GB, free: 15.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1239, allocations: 8.031 kB / 0.4982 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.124, allocations: 38.75 kB / 0.4982 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.124, allocations: 16.84 kB / 0.4982 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.1243, allocations: 186.1 kB / 0.4984 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1243, allocations: 384 / 0.4984 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.1244, allocations: 16.38 kB / 0.4984 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.1247, allocations: 141 kB / 0.4986 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.1247, allocations: 7.922 kB / 0.4986 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1247, allocations: 0 / 0.4986 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1247, allocations: 0 / 0.4986 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.1249, allocations: 59.91 kB / 0.4986 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.1257, allocations: 379.6 kB / 0.499 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1259, allocations: 110.6 kB / 0.4991 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.126, allocations: 56.83 kB / 0.4991 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1261, allocations: 11.94 kB / 0.4992 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.1264, allocations: 102.2 kB / 0.4993 GB, free: 14.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.1264, allocations: 0 / 0.4993 GB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005311/0.1269, allocations: 205.5 kB / 0.4994 GB, free: 13.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/0.1271, allocations: 162.2 kB / 0.4996 GB, free: 13.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1274, allocations: 187.2 kB / 0.4998 GB, free: 13.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.1274, allocations: 37.7 kB / 0.4998 GB, free: 13.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1275, allocations: 120.2 kB / 0.4999 GB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.1276, allocations: 39.64 kB / 0.5 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.1276, allocations: 45.7 kB / 0.5 GB, free: 13.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.1279, allocations: 330.8 kB / 0.5003 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.128, allocations: 35.98 kB / 0.5004 GB, free: 12.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.1282, allocations: 111.7 kB / 0.5005 GB, free: 12.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1284, allocations: 133.9 kB / 0.5006 GB, free: 12.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1284, allocations: 0 / 0.5006 GB, free: 12.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003162/0.1287, allocations: 168 kB / 0.5008 GB, free: 12.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1287, allocations: 6.344 kB / 0.5008 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1287, allocations: 8.188 kB / 0.5008 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/0.1288, allocations: 11.92 kB / 0.5008 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1289, allocations: 31.92 kB / 0.5008 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1289, allocations: 0 / 0.5008 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.1291, allocations: 15.95 kB / 0.5008 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.1291, allocations: 8 kB / 0.5008 GB, free: 12.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001387/0.1292, allocations: 142.2 kB / 0.501 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.1293, allocations: 15.91 kB / 0.501 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.1293, allocations: 21.47 kB / 0.501 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1293, allocations: 7.875 kB / 0.501 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1293, allocations: 0 / 0.501 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1293, allocations: 7.984 kB / 0.501 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.1299, allocations: 433.4 kB / 0.5014 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1299, allocations: 0 / 0.5014 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.13, allocations: 23.92 kB / 0.5015 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1301, allocations: 0 / 0.5015 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1301, allocations: 8 kB / 0.5015 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1301, allocations: 0 / 0.5015 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1301, allocations: 0 / 0.5015 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.1306, allocations: 318.8 kB / 0.5018 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.1306, allocations: 19.88 kB / 0.5018 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.1306, allocations: 7.984 kB / 0.5018 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1308, allocations: 12.06 kB / 0.5018 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.1309, allocations: 15.97 kB / 0.5018 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.1309, allocations: 8 kB / 0.5018 GB, free: 11.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.131, allocations: 135.2 kB / 0.502 GB, free: 11.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.131, allocations: 0 / 0.502 GB, free: 11.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.1313, allocations: 35.94 kB / 0.502 GB, free: 11.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000981/0.1323, allocations: 0.8762 MB / 0.5029 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.1326, allocations: 103.9 kB / 0.503 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1326, allocations: 0 / 0.503 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1327, allocations: 55.91 kB / 0.503 GB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1331, allocations: 28.41 kB / 0.503 GB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.1359, allocations: 2.078 MB / 0.5051 GB, free: 7.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1363, allocations: 0.7125 MB / 0.5058 GB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.398e-05/0.1363, allocations: 25.41 kB / 0.5058 GB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.1364, allocations: 39.42 kB / 0.5058 GB, free: 6.957 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1364, allocations: 4 kB / 0.5058 GB, free: 6.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/0.1696, allocations: 3.855 MB / 0.5096 GB, free: 3.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.16, allocations: 8.062 kB / 0.5096 GB, free: 3.234 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.091724609999801] Failed to read output from testmodel.py, exit status != 0: 11.260515071000555 11.463848708 11.336737855 Calling exit ...