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.001853/0.001853, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.00244/0.00244, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.545/1.545, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.06476/0.06476, allocations: 11.31 MB / 320.2 MB, free: 9.414 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.002023/0.002023, allocations: 59.91 kB / 445.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1042, allocations: 56.02 MB / 0.4901 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002869/0.1071, allocations: 1.661 MB / 0.4917 GB, free: 3.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006665/0.1078, allocations: 314.9 kB / 0.492 GB, free: 3.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.1078, allocations: 4 kB / 0.492 GB, free: 3.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/0.1079, allocations: 15.8 kB / 0.492 GB, free: 3.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.108, allocations: 15.81 kB / 0.492 GB, free: 3.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1083, allocations: 95.77 kB / 0.4921 GB, free: 3.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1085, allocations: 131.6 kB / 0.4922 GB, free: 3.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1086, allocations: 17.83 kB / 0.4922 GB, free: 3.375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.476e-05/0.1087, allocations: 55.72 kB / 0.4923 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.93e-05/0.1088, allocations: 67.61 kB / 0.4924 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.1088, allocations: 12 kB / 0.4924 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.1089, allocations: 39.97 kB / 0.4924 GB, free: 3.203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.1089, allocations: 27.86 kB / 0.4924 GB, free: 3.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.109, allocations: 67.64 kB / 0.4925 GB, free: 3.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.1092, allocations: 147.3 kB / 0.4926 GB, free: 2.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1092, allocations: 0 / 0.4926 GB, free: 2.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1092, allocations: 0 / 0.4926 GB, free: 2.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1092, allocations: 0 / 0.4926 GB, free: 2.965 MB / 366.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.0007071/0.1099, allocations: 458.6 kB / 0.4931 GB, free: 2.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.11, allocations: 8.031 kB / 0.4931 GB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.11, allocations: 38.75 kB / 0.4931 GB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.1101, allocations: 20.84 kB / 0.4931 GB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1103, allocations: 228 kB / 0.4934 GB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.1103, allocations: 8.375 kB / 0.4934 GB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1104, allocations: 16.3 kB / 0.4934 GB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.1107, allocations: 126.5 kB / 0.4935 GB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1107, allocations: 3.938 kB / 0.4935 GB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.1107, allocations: 8 kB / 0.4935 GB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1107, allocations: 0 / 0.4935 GB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1109, allocations: 63.89 kB / 0.4936 GB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.1116, allocations: 404.5 kB / 0.494 GB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1118, allocations: 110.6 kB / 0.4941 GB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1119, allocations: 56.78 kB / 0.4941 GB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1119, allocations: 3.938 kB / 0.4941 GB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.1122, allocations: 110.3 kB / 0.4942 GB, free: 1.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.1122, allocations: 0 / 0.4942 GB, free: 1.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005171/0.1127, allocations: 205.5 kB / 0.4944 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.1128, allocations: 166.2 kB / 0.4946 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.113, allocations: 187.2 kB / 0.4948 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.1131, allocations: 33.7 kB / 0.4948 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.1132, allocations: 120.2 kB / 0.4949 GB, free: 396 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.1132, allocations: 47.62 kB / 0.495 GB, free: 348 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.1133, allocations: 41.7 kB / 0.495 GB, free: 300 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.1135, allocations: 330.8 kB / 0.4953 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.1136, allocations: 35.98 kB / 0.4953 GB, free: 15.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.1137, allocations: 111.8 kB / 0.4955 GB, free: 15.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.1139, allocations: 132.5 kB / 0.4956 GB, free: 15.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1139, allocations: 4 kB / 0.4956 GB, free: 15.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003198/0.1143, allocations: 169.4 kB / 0.4957 GB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1143, allocations: 4 kB / 0.4957 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1143, allocations: 4 kB / 0.4958 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1143, allocations: 7.969 kB / 0.4958 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.1145, allocations: 31.92 kB / 0.4958 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1145, allocations: 4 kB / 0.4958 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.1146, allocations: 19.94 kB / 0.4958 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1146, allocations: 8.188 kB / 0.4958 GB, free: 15.38 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.0001261/0.1148, allocations: 137.7 kB / 0.496 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.1148, allocations: 15.91 kB / 0.496 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.1149, allocations: 25.52 kB / 0.496 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1149, allocations: 3.938 kB / 0.496 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1149, allocations: 3.938 kB / 0.496 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1149, allocations: 0 / 0.496 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.1155, allocations: 470.4 kB / 0.4964 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1155, allocations: 0 / 0.4964 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1156, allocations: 19.94 kB / 0.4965 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1156, allocations: 3.984 kB / 0.4965 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1156, allocations: 4 kB / 0.4965 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1156, allocations: 3.938 kB / 0.4965 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1156, allocations: 0 / 0.4965 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.1161, allocations: 318.5 kB / 0.4968 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.1162, allocations: 92.98 kB / 0.4969 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.1162, allocations: 8 kB / 0.4969 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1164, allocations: 11.92 kB / 0.4969 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.1164, allocations: 11.98 kB / 0.4969 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1164, allocations: 4 kB / 0.4969 GB, free: 14.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1165, allocations: 140.4 kB / 0.497 GB, free: 14.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1165, allocations: 0 / 0.497 GB, free: 14.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.1168, allocations: 35.94 kB / 0.4971 GB, free: 14 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.0008403/0.1177, allocations: 0.8724 MB / 0.4979 GB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.118, allocations: 107.2 kB / 0.498 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.118, allocations: 4.125 kB / 0.498 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.1181, allocations: 51.92 kB / 0.4981 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1184, allocations: 29.72 kB / 0.4981 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.121, allocations: 2.07 MB / 0.5001 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1213, allocations: 0.7125 MB / 0.5008 GB, free: 9.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.239e-05/0.1214, allocations: 25.48 kB / 0.5008 GB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.1215, allocations: 39.42 kB / 0.5009 GB, free: 9.922 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1215, allocations: 0 / 0.5009 GB, free: 9.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.1492, allocations: 3.723 MB / 0.5045 GB, free: 6.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.322, allocations: 11.88 kB / 0.5045 GB, free: 6.348 MB / 382.1 MB " [Timeout remaining time 652] (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: 11.321414003003156] Failed to read output from testmodel.py, exit status != 0: 8.392889696013299 8.617511535 8.505457379 Calling exit ...