Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.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.001346/0.001346, 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.001629/0.001629, allocations: 211.4 kB / 22.24 MB, free: 4.855 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.793 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.06269/0.06269, allocations: 11.34 MB / 323.8 MB, free: 8.121 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.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",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.00199/0.00199, allocations: 71.89 kB / 451 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1138, allocations: 56.07 MB / 0.4952 GB, free: 2.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003415/0.1172, allocations: 2.149 MB / 0.4973 GB, free: 0 / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1184, allocations: 0.5739 MB / 0.4978 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.1185, allocations: 23.75 kB / 0.4978 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.1187, allocations: 63.33 kB / 0.4979 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1188, allocations: 35.61 kB / 0.4979 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007137/0.1196, allocations: 315.4 kB / 0.4982 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.1203, allocations: 0.6062 MB / 0.4988 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.1205, allocations: 73.45 kB / 0.4989 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1207, allocations: 195.2 kB / 0.4991 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1209, allocations: 191 kB / 0.4993 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.121, allocations: 32 kB / 0.4993 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.383e-05/0.1211, allocations: 36 kB / 0.4993 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.1212, allocations: 143.5 kB / 0.4995 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.1214, allocations: 151 kB / 0.4996 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.1218, allocations: 422 kB / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1218, allocations: 0 / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1218, allocations: 3.938 kB / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1218, allocations: 3.938 kB / 0.5 GB, free: 13.16 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001183/0.123, allocations: 0.69 MB / 0.5007 GB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.123, allocations: 8.031 kB / 0.5007 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.294e-05/0.1231, allocations: 82.72 kB / 0.5008 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.1232, allocations: 60.55 kB / 0.5008 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.1238, allocations: 344.6 kB / 0.5012 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.1238, allocations: 33.36 kB / 0.5012 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.1239, allocations: 44.38 kB / 0.5012 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/0.1246, allocations: 484.6 kB / 0.5017 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.1247, allocations: 15.89 kB / 0.5017 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.1247, allocations: 16 kB / 0.5017 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1247, allocations: 12 kB / 0.5017 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005916/0.1253, allocations: 343.6 kB / 0.5021 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.1279, allocations: 1.831 MB / 0.5039 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.1287, allocations: 218.5 kB / 0.5041 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.1289, allocations: 112.8 kB / 0.5042 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1289, allocations: 4 kB / 0.5042 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1289, allocations: 38.56 kB / 0.5042 GB, free: 8.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.1289, allocations: 0 / 0.5042 GB, free: 8.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007108/0.1296, allocations: 369.4 kB / 0.5046 GB, free: 8.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1297, allocations: 59.39 kB / 0.5046 GB, free: 8.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004638/0.1301, allocations: 445.7 kB / 0.505 GB, free: 7.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1302, allocations: 33.7 kB / 0.5051 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.1304, allocations: 276.1 kB / 0.5053 GB, free: 7.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.1304, allocations: 103.1 kB / 0.5054 GB, free: 7.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1306, allocations: 86.08 kB / 0.5055 GB, free: 7.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1307, allocations: 358.8 kB / 0.5059 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.1309, allocations: 112.9 kB / 0.506 GB, free: 6.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.1313, allocations: 278.2 kB / 0.5062 GB, free: 6.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.1332, allocations: 0.737 MB / 0.507 GB, free: 5.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1332, allocations: 0 / 0.507 GB, free: 5.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007786/0.134, allocations: 0.4971 MB / 0.5074 GB, free: 5.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.134, allocations: 12.03 kB / 0.5075 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.134, allocations: 8 kB / 0.5075 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.134, allocations: 15.88 kB / 0.5075 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.1344, allocations: 111.8 kB / 0.5076 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.1344, allocations: 15.92 kB / 0.5076 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.1346, allocations: 63.55 kB / 0.5077 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.1347, allocations: 20 kB / 0.5077 GB, free: 4.887 MB / 382.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0002572/0.1349, allocations: 207.5 kB / 0.5079 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.135, allocations: 43.72 kB / 0.5079 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.1356, allocations: 341.7 kB / 0.5082 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1356, allocations: 7.938 kB / 0.5083 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1356, allocations: 3.938 kB / 0.5083 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1356, allocations: 0 / 0.5083 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.1361, allocations: 368.4 kB / 0.5086 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1361, allocations: 0 / 0.5086 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.1365, allocations: 79.94 kB / 0.5087 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1365, allocations: 4 kB / 0.5087 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.1365, allocations: 8 kB / 0.5087 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1365, allocations: 7.938 kB / 0.5087 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1365, allocations: 0 / 0.5087 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.1373, allocations: 0.5235 MB / 0.5092 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/0.1373, allocations: 43.66 kB / 0.5093 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.1374, allocations: 15.98 kB / 0.5093 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1375, allocations: 15.92 kB / 0.5093 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.1376, allocations: 23.97 kB / 0.5093 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1376, allocations: 8 kB / 0.5093 GB, free: 3.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003149/0.1379, allocations: 295.1 kB / 0.5096 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1379, allocations: 0 / 0.5096 GB, free: 2.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.1383, allocations: 75.84 kB / 0.5097 GB, free: 2.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * 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 (29): * Single equations (assignments): 29 * 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 Backend phase and start with SimCode phase: time 0.001073/0.1394, allocations: 1.079 MB / 0.5107 GB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.1399, allocations: 315.5 kB / 0.511 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1399, allocations: 4 kB / 0.511 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.1402, allocations: 125.3 kB / 0.5111 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1405, allocations: 50.23 kB / 0.5112 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1936/0.3341, allocations: 3.986 MB / 0.5151 GB, free: 21.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.3344, allocations: 253.5 kB / 0.5153 GB, free: 21.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.3346, allocations: 81.95 kB / 0.5154 GB, free: 21.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.3347, allocations: 159.8 kB / 0.5156 GB, free: 21.42 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3347, allocations: 0.5625 kB / 0.5156 GB, free: 21.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/0.3704, allocations: 7.499 MB / 0.5229 GB, free: 20.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.16, allocations: 5.281 kB / 0.5229 GB, free: 20.29 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.860255076084286] Failed to read output from testmodel.py, exit status != 0: 11.263042336795479 11.277037081 11.152622373 Calling exit ...