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.00127/0.00127, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001523/0.001523, allocations: 210.9 kB / 22.24 MB, free: 4.859 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.411/1.411, 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.06438/0.06438, allocations: 11.34 MB / 323.8 MB, free: 8.047 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.002185/0.002185, allocations: 63.91 kB / 451 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1044, allocations: 56.08 MB / 0.4952 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003351/0.1077, allocations: 1.613 MB / 0.4967 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007399/0.1085, allocations: 291 kB / 0.497 GB, free: 272 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.1085, allocations: 3.938 kB / 0.497 GB, free: 268 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.1086, allocations: 7.875 kB / 0.497 GB, free: 260 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.1087, allocations: 23.8 kB / 0.497 GB, free: 236 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1092, allocations: 94.84 kB / 0.4971 GB, free: 144 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.1094, allocations: 127.7 kB / 0.4973 GB, free: 16 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1095, allocations: 22.06 kB / 0.4973 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.1096, allocations: 55.67 kB / 0.4973 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1097, allocations: 55.62 kB / 0.4974 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.1098, allocations: 12 kB / 0.4974 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.812e-05/0.1099, allocations: 39.97 kB / 0.4974 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.1099, allocations: 39.83 kB / 0.4975 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.11, allocations: 43.73 kB / 0.4975 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1102, allocations: 143.3 kB / 0.4976 GB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1102, allocations: 3.984 kB / 0.4976 GB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1102, allocations: 3.938 kB / 0.4977 GB, free: 15.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1103, allocations: 4 kB / 0.4977 GB, free: 15.6 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.0008199/0.1111, allocations: 377.6 kB / 0.498 GB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1111, allocations: 8.031 kB / 0.498 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.767e-05/0.1112, allocations: 38.75 kB / 0.4981 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.1113, allocations: 16.84 kB / 0.4981 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1115, allocations: 178.2 kB / 0.4982 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1115, allocations: 8.312 kB / 0.4983 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.1116, allocations: 16.38 kB / 0.4983 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.1119, allocations: 241.3 kB / 0.4985 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1119, allocations: 3.938 kB / 0.4985 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1119, allocations: 0 / 0.4985 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1119, allocations: 4 kB / 0.4985 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1121, allocations: 55.91 kB / 0.4986 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.1128, allocations: 351.7 kB / 0.4989 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.1131, allocations: 110.6 kB / 0.499 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1132, allocations: 56.83 kB / 0.4991 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1132, allocations: 4 kB / 0.4991 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.1135, allocations: 115.2 kB / 0.4992 GB, free: 13.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.1135, allocations: 0 / 0.4992 GB, free: 13.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004633/0.1139, allocations: 205.5 kB / 0.4994 GB, free: 13.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.1141, allocations: 162.2 kB / 0.4995 GB, free: 13.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1142, allocations: 191.2 kB / 0.4997 GB, free: 13.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.1143, allocations: 29.7 kB / 0.4997 GB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.1144, allocations: 128.1 kB / 0.4999 GB, free: 13.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.1144, allocations: 35.69 kB / 0.4999 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.1145, allocations: 45.7 kB / 0.4999 GB, free: 13.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1146, allocations: 326.8 kB / 0.5002 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.1147, allocations: 39.97 kB / 0.5003 GB, free: 12.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.1149, allocations: 213.5 kB / 0.5005 GB, free: 12.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.1151, allocations: 134.7 kB / 0.5006 GB, free: 12.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1151, allocations: 0 / 0.5006 GB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003006/0.1154, allocations: 170.6 kB / 0.5008 GB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1155, allocations: 8 kB / 0.5008 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1155, allocations: 3.984 kB / 0.5008 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1155, allocations: 8.125 kB / 0.5008 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1156, allocations: 35.92 kB / 0.5008 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1156, allocations: 0 / 0.5008 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.1158, allocations: 12 kB / 0.5008 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1158, allocations: 8 kB / 0.5008 GB, free: 11.99 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.0001291/0.1159, allocations: 137.8 kB / 0.501 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.116, allocations: 23.84 kB / 0.501 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.116, allocations: 17.47 kB / 0.501 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.116, allocations: 7.938 kB / 0.501 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.116, allocations: 4 kB / 0.501 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.116, allocations: 3.984 kB / 0.501 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.1166, allocations: 413.5 kB / 0.5014 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1166, allocations: 4 kB / 0.5014 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1167, allocations: 19.92 kB / 0.5015 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1167, allocations: 4 kB / 0.5015 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1167, allocations: 7.984 kB / 0.5015 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1167, allocations: 4 kB / 0.5015 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1167, allocations: 0 / 0.5015 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.1172, allocations: 311 kB / 0.5018 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.1173, allocations: 23.8 kB / 0.5018 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.1173, allocations: 8 kB / 0.5018 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1175, allocations: 7.984 kB / 0.5018 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.1175, allocations: 11.98 kB / 0.5018 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1175, allocations: 4 kB / 0.5018 GB, free: 10.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1177, allocations: 139.2 kB / 0.502 GB, free: 10.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1177, allocations: 3.938 kB / 0.502 GB, free: 10.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.118, allocations: 43.89 kB / 0.502 GB, free: 10.74 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.000837/0.1188, allocations: 0.8723 MB / 0.5028 GB, free: 9.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.1191, allocations: 106.6 kB / 0.5029 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1191, allocations: 0 / 0.5029 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.1192, allocations: 55.92 kB / 0.503 GB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1195, allocations: 30.84 kB / 0.503 GB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.1222, allocations: 2.07 MB / 0.5051 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.536e-05/0.1223, allocations: 106.2 kB / 0.5052 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.1224, allocations: 17.48 kB / 0.5052 GB, free: 7.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.1225, allocations: 47.42 kB / 0.5052 GB, free: 7.281 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1225, allocations: 0 / 0.5052 GB, free: 7.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.1542, allocations: 4.364 MB / 0.5095 GB, free: 3.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.8, allocations: 10.28 kB / 0.5095 GB, free: 3.066 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: 13.624715473037213] Failed to read output from testmodel.py, exit status != 0: 10.903759077657014 11.124323156 11.011345165 Calling exit ...