Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.001333/0.001333, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001898/0.001898, allocations: 207.1 kB / 22.24 MB, free: 5.262 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.785 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.06263/0.06263, allocations: 11.34 MB / 323.8 MB, free: 8.02 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.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",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.001921/0.001921, allocations: 67.89 kB / 451 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 56.07 MB / 0.4952 GB, free: 2.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.00305/0.1107, allocations: 1.807 MB / 0.4969 GB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1118, allocations: 0.5409 MB / 0.4974 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.5e-05/0.1118, allocations: 3.938 kB / 0.4975 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/0.1119, allocations: 23.67 kB / 0.4975 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.112, allocations: 35.67 kB / 0.4975 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.1126, allocations: 191.4 kB / 0.4977 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.1128, allocations: 203.4 kB / 0.4979 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.113, allocations: 36.78 kB / 0.4979 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.189e-05/0.1131, allocations: 87.52 kB / 0.498 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1132, allocations: 99.39 kB / 0.4981 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.1133, allocations: 16 kB / 0.4981 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.1135, allocations: 147.9 kB / 0.4983 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.1135, allocations: 51.78 kB / 0.4983 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.986e-05/0.1136, allocations: 83.44 kB / 0.4984 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.114, allocations: 306.8 kB / 0.4987 GB, free: 14.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.114, allocations: 4 kB / 0.4987 GB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.114, allocations: 0 / 0.4987 GB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.114, allocations: 0 / 0.4987 GB, free: 14.52 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008125/0.1148, allocations: 0.4966 MB / 0.4992 GB, free: 13.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1149, allocations: 8.031 kB / 0.4992 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.1149, allocations: 42.73 kB / 0.4992 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.115, allocations: 36.69 kB / 0.4992 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1152, allocations: 205.6 kB / 0.4994 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1153, allocations: 12.38 kB / 0.4995 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.1153, allocations: 24.31 kB / 0.4995 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.1157, allocations: 273.2 kB / 0.4997 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1157, allocations: 3.938 kB / 0.4997 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1157, allocations: 11.97 kB / 0.4998 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.1157, allocations: 4 kB / 0.4998 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.1159, allocations: 63.91 kB / 0.4998 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008742/0.1167, allocations: 463.5 kB / 0.5003 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.1171, allocations: 138.5 kB / 0.5004 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1172, allocations: 56.84 kB / 0.5004 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1172, allocations: 0 / 0.5004 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003037/0.1175, allocations: 143.3 kB / 0.5006 GB, free: 12.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.1175, allocations: 0 / 0.5006 GB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005529/0.1181, allocations: 271.1 kB / 0.5008 GB, free: 12.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.1181, allocations: 162.2 kB / 0.501 GB, free: 11.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.1184, allocations: 261.8 kB / 0.5012 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1184, allocations: 33.7 kB / 0.5013 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1185, allocations: 152.4 kB / 0.5014 GB, free: 11.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.1186, allocations: 67.52 kB / 0.5015 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.1187, allocations: 57.98 kB / 0.5015 GB, free: 11.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1188, allocations: 338.8 kB / 0.5019 GB, free: 11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1189, allocations: 56.25 kB / 0.5019 GB, free: 10.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.1192, allocations: 292.4 kB / 0.5022 GB, free: 10.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.1196, allocations: 240.3 kB / 0.5024 GB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1196, allocations: 4 kB / 0.5024 GB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004204/0.12, allocations: 273.1 kB / 0.5027 GB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.12, allocations: 8 kB / 0.5027 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.12, allocations: 4 kB / 0.5027 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.12, allocations: 4 kB / 0.5027 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.1203, allocations: 60.31 kB / 0.5028 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1203, allocations: 15.88 kB / 0.5028 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1205, allocations: 31.81 kB / 0.5028 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1205, allocations: 15.94 kB / 0.5028 GB, free: 9.875 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001679/0.1206, allocations: 138.4 kB / 0.503 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.1207, allocations: 27.81 kB / 0.503 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.88e-05/0.1207, allocations: 30.11 kB / 0.503 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1207, allocations: 0 / 0.503 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1208, allocations: 3.938 kB / 0.503 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.1208, allocations: 15.98 kB / 0.503 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/0.1214, allocations: 0.4921 MB / 0.5035 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1214, allocations: 0 / 0.5035 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.1216, allocations: 35.98 kB / 0.5035 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1216, allocations: 0 / 0.5035 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.1216, allocations: 11.92 kB / 0.5036 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1216, allocations: 0 / 0.5036 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1216, allocations: 0 / 0.5036 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.1222, allocations: 387.4 kB / 0.5039 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.1222, allocations: 31.8 kB / 0.504 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.1223, allocations: 12 kB / 0.504 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1224, allocations: 11.98 kB / 0.504 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.1225, allocations: 12.03 kB / 0.504 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1225, allocations: 15.97 kB / 0.504 GB, free: 8.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.1227, allocations: 189.2 kB / 0.5042 GB, free: 8.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1227, allocations: 0 / 0.5042 GB, free: 8.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000363/0.123, allocations: 79.8 kB / 0.5043 GB, free: 8.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0009532/0.124, allocations: 0.9839 MB / 0.5052 GB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.1243, allocations: 163.8 kB / 0.5054 GB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1243, allocations: 0 / 0.5054 GB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1245, allocations: 72.83 kB / 0.5055 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1248, allocations: 60.72 kB / 0.5055 GB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.1283, allocations: 2.889 MB / 0.5083 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.1285, allocations: 134.2 kB / 0.5085 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.682e-05/0.1286, allocations: 30.28 kB / 0.5085 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1287, allocations: 79.41 kB / 0.5086 GB, free: 3.715 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1287, allocations: 0 / 0.5086 GB, free: 3.715 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/0.3682, allocations: 6.464 MB / 0.5149 GB, free: 22.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.03, allocations: 4.469 kB / 0.5149 GB, free: 22.93 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.648304699920118] Failed to read output from testmodel.py, exit status != 0: 11.13212882168591 11.14704227 11.029955033 Calling exit ...