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.001766/0.001766, allocations: 106.2 kB / 18.84 MB, free: 3.027 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.002001/0.002001, allocations: 213.6 kB / 22.13 MB, free: 5.176 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.466/1.466, allocations: 230.5 MB / 255.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06573/0.06573, allocations: 11.36 MB / 323.5 MB, free: 8.238 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-master/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.002118/0.002118, allocations: 67.89 kB / 450.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1132, allocations: 56.07 MB / 0.4949 GB, free: 2.434 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.00365/0.1169, allocations: 2.279 MB / 0.4971 GB, free: 140 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1183, allocations: 0.5895 MB / 0.4977 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.1185, allocations: 23.81 kB / 0.4977 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.1187, allocations: 75.19 kB / 0.4978 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1189, allocations: 31.62 kB / 0.4978 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009289/0.1198, allocations: 311.4 kB / 0.4981 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008854/0.1207, allocations: 0.6218 MB / 0.4987 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.1209, allocations: 73.47 kB / 0.4988 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.1212, allocations: 195.3 kB / 0.499 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.1216, allocations: 207 kB / 0.4992 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.1217, allocations: 32 kB / 0.4992 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.879e-05/0.1217, allocations: 32 kB / 0.4992 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.1219, allocations: 139.5 kB / 0.4994 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.1221, allocations: 198.7 kB / 0.4996 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000575/0.1227, allocations: 421.9 kB / 0.5 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1227, allocations: 0 / 0.5 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1227, allocations: 0 / 0.5 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.1227, allocations: 4 kB / 0.5 GB, free: 13.21 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.001284/0.124, allocations: 0.692 MB / 0.5006 GB, free: 12.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1241, allocations: 8.031 kB / 0.5006 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.1242, allocations: 82.7 kB / 0.5007 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.1243, allocations: 60.56 kB / 0.5008 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.1248, allocations: 340.6 kB / 0.5011 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.1249, allocations: 33.38 kB / 0.5011 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.1249, allocations: 44.38 kB / 0.5012 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008873/0.1258, allocations: 484.6 kB / 0.5016 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.1259, allocations: 23.83 kB / 0.5017 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.1259, allocations: 16 kB / 0.5017 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1259, allocations: 8 kB / 0.5017 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006817/0.1266, allocations: 339.7 kB / 0.502 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.1294, allocations: 1.893 MB / 0.5039 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.1301, allocations: 224.9 kB / 0.5041 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.1303, allocations: 116.7 kB / 0.5042 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1304, allocations: 4 kB / 0.5042 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.1304, allocations: 42.55 kB / 0.5042 GB, free: 8.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.774e-06/0.1304, allocations: 0 / 0.5042 GB, free: 8.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007341/0.1311, allocations: 369.4 kB / 0.5046 GB, free: 8.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.1312, allocations: 55.41 kB / 0.5046 GB, free: 8.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.1317, allocations: 433.8 kB / 0.505 GB, free: 7.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1317, allocations: 33.64 kB / 0.5051 GB, free: 7.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.1319, allocations: 276.1 kB / 0.5053 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.033e-05/0.132, allocations: 115.1 kB / 0.5055 GB, free: 7.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.1321, allocations: 94.08 kB / 0.5055 GB, free: 7.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1323, allocations: 350.8 kB / 0.5059 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.1325, allocations: 108.9 kB / 0.506 GB, free: 6.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.1329, allocations: 281.4 kB / 0.5062 GB, free: 6.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.1348, allocations: 0.7369 MB / 0.507 GB, free: 5.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1349, allocations: 0 / 0.507 GB, free: 5.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008212/0.1357, allocations: 0.5048 MB / 0.5075 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1357, allocations: 8 kB / 0.5075 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.1357, allocations: 11.98 kB / 0.5075 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.1357, allocations: 11.94 kB / 0.5075 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.1361, allocations: 111.8 kB / 0.5076 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.1362, allocations: 11.94 kB / 0.5076 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.1364, allocations: 63.55 kB / 0.5077 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.1364, allocations: 20 kB / 0.5077 GB, free: 4.867 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.0002698/0.1367, allocations: 208.9 kB / 0.5079 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.1367, allocations: 47.72 kB / 0.5079 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006644/0.1374, allocations: 333.7 kB / 0.5083 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.1374, allocations: 11.92 kB / 0.5083 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1374, allocations: 0 / 0.5083 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1374, allocations: 0 / 0.5083 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.138, allocations: 392.3 kB / 0.5086 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.138, allocations: 4 kB / 0.5086 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.1384, allocations: 79.88 kB / 0.5087 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1384, allocations: 0 / 0.5087 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.1384, allocations: 12 kB / 0.5087 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-06/0.1384, allocations: 7.938 kB / 0.5087 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1384, allocations: 0 / 0.5087 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.1393, allocations: 0.5315 MB / 0.5093 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.1393, allocations: 39.66 kB / 0.5093 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.1394, allocations: 8 kB / 0.5093 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1395, allocations: 19.92 kB / 0.5093 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.1396, allocations: 23.95 kB / 0.5093 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1396, allocations: 4 kB / 0.5093 GB, free: 3.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003399/0.1399, allocations: 299.1 kB / 0.5096 GB, free: 2.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1399, allocations: 0 / 0.5096 GB, free: 2.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.1403, allocations: 79.78 kB / 0.5097 GB, free: 2.723 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.001226/0.1415, allocations: 1.068 MB / 0.5108 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006318/0.1422, allocations: 315.6 kB / 0.5111 GB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1422, allocations: 0 / 0.5111 GB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.1424, allocations: 133.2 kB / 0.5112 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1428, allocations: 47.81 kB / 0.5112 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1929/0.3356, allocations: 3.988 MB / 0.5151 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3359, allocations: 250.2 kB / 0.5154 GB, free: 21.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.3361, allocations: 83.64 kB / 0.5154 GB, free: 21.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.3362, allocations: 160.8 kB / 0.5156 GB, free: 21.57 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3362, allocations: 0 / 0.5156 GB, free: 21.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.373, allocations: 7.406 MB / 0.5228 GB, free: 20.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.32, allocations: 8.531 kB / 0.5228 GB, free: 20.91 MB / 382.1 MB " [Timeout remaining time 648] (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: 15.028165474068373] Failed to read output from testmodel.py, exit status != 0: 12.43258491018787 12.45557956 12.329050527 Calling exit ...