Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.001353/0.001353, 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.001569/0.001569, allocations: 214.7 kB / 22.25 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.805 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.06221/0.06221, allocations: 11.35 MB / 323.8 MB, free: 8.035 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.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_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.002034/0.002034, allocations: 71.89 kB / 451 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1081, allocations: 56.06 MB / 0.4951 GB, free: 2.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003412/0.1115, allocations: 2.161 MB / 0.4973 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1128, allocations: 0.6985 MB / 0.4979 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.113, allocations: 23.75 kB / 0.498 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.1132, allocations: 67.27 kB / 0.498 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1134, allocations: 47.55 kB / 0.4981 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000711/0.1141, allocations: 375.3 kB / 0.4984 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.1149, allocations: 0.6452 MB / 0.4991 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.115, allocations: 77.39 kB / 0.4991 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.1153, allocations: 227.2 kB / 0.4993 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.1156, allocations: 210.9 kB / 0.4996 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.1157, allocations: 36 kB / 0.4996 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.923e-05/0.1157, allocations: 32 kB / 0.4996 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1159, allocations: 151.5 kB / 0.4998 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.116, allocations: 155 kB / 0.4999 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000463/0.1165, allocations: 445.9 kB / 0.5003 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1165, allocations: 0 / 0.5003 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1165, allocations: 0 / 0.5003 GB, free: 12.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1165, allocations: 4 kB / 0.5003 GB, free: 12.82 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.00131/0.1178, allocations: 0.7526 MB / 0.5011 GB, free: 12.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1179, allocations: 8.031 kB / 0.5011 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.892e-05/0.1179, allocations: 82.72 kB / 0.5012 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/0.118, allocations: 60.56 kB / 0.5012 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.1187, allocations: 378.9 kB / 0.5016 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/0.1188, allocations: 84.97 kB / 0.5017 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.1188, allocations: 48.33 kB / 0.5017 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.1196, allocations: 0.4964 MB / 0.5022 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.1196, allocations: 4 kB / 0.5022 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1197, allocations: 20 kB / 0.5022 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1197, allocations: 12 kB / 0.5022 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.1203, allocations: 375.6 kB / 0.5026 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.1231, allocations: 1.951 MB / 0.5045 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/0.124, allocations: 279.3 kB / 0.5048 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.1242, allocations: 169.3 kB / 0.5049 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.1243, allocations: 8.281 kB / 0.5049 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1243, allocations: 30.84 kB / 0.505 GB, free: 7.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.1243, allocations: 0 / 0.505 GB, free: 7.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008457/0.1251, allocations: 454.7 kB / 0.5054 GB, free: 7.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1252, allocations: 55.41 kB / 0.5054 GB, free: 7.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.1257, allocations: 457.7 kB / 0.5059 GB, free: 6.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.1257, allocations: 29.7 kB / 0.5059 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.1259, allocations: 272.2 kB / 0.5062 GB, free: 6.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.126, allocations: 138.9 kB / 0.5063 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1261, allocations: 98.12 kB / 0.5064 GB, free: 6.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1263, allocations: 362.7 kB / 0.5067 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.1266, allocations: 133.1 kB / 0.5069 GB, free: 5.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.1269, allocations: 279 kB / 0.5071 GB, free: 5.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.129, allocations: 0.8319 MB / 0.5079 GB, free: 4.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.129, allocations: 4 kB / 0.5079 GB, free: 4.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008208/0.1299, allocations: 0.5398 MB / 0.5085 GB, free: 4.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1299, allocations: 8 kB / 0.5085 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1299, allocations: 4 kB / 0.5085 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.1299, allocations: 8.594 kB / 0.5085 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.1304, allocations: 127.8 kB / 0.5086 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.1304, allocations: 11.94 kB / 0.5086 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1306, allocations: 63.56 kB / 0.5087 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.1307, allocations: 23.94 kB / 0.5087 GB, free: 3.844 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: 20 * 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 (65): * Single equations (assignments): 65 * 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.0002605/0.1309, allocations: 207.5 kB / 0.5089 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.131, allocations: 47.67 kB / 0.509 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/0.1317, allocations: 405.9 kB / 0.5093 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1317, allocations: 4 kB / 0.5093 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1317, allocations: 0 / 0.5093 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1317, allocations: 3.984 kB / 0.5093 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.1322, allocations: 404.2 kB / 0.5097 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1322, allocations: 0 / 0.5097 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.1328, allocations: 91.88 kB / 0.5098 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1328, allocations: 4 kB / 0.5098 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.1328, allocations: 15.98 kB / 0.5098 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1328, allocations: 0 / 0.5098 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1328, allocations: 4 kB / 0.5098 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.1337, allocations: 0.6329 MB / 0.5105 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.1338, allocations: 43.66 kB / 0.5105 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.1338, allocations: 15.98 kB / 0.5105 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.134, allocations: 19.98 kB / 0.5105 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.1341, allocations: 19.95 kB / 0.5106 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.1341, allocations: 12 kB / 0.5106 GB, free: 1.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003225/0.1344, allocations: 299.1 kB / 0.5109 GB, free: 1.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1344, allocations: 4 kB / 0.5109 GB, free: 1.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.1348, allocations: 83.84 kB / 0.5109 GB, free: 1.484 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.001235/0.136, allocations: 1.173 MB / 0.5121 GB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1824/0.3184, allocations: 360.6 kB / 0.5124 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.3184, allocations: 0 / 0.5124 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.3187, allocations: 162.1 kB / 0.5126 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.3191, allocations: 48.17 kB / 0.5126 GB, free: 23.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.3232, allocations: 4.252 MB / 0.5168 GB, free: 21.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.3234, allocations: 263.6 kB / 0.517 GB, free: 21.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.3236, allocations: 94.8 kB / 0.5171 GB, free: 21.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.3238, allocations: 176.1 kB / 0.5173 GB, free: 21.43 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3238, allocations: 1.875 kB / 0.5173 GB, free: 21.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04026/0.3641, allocations: 8.191 MB / 0.5253 GB, free: 20.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.24, allocations: 1.188 kB / 0.5253 GB, free: 20.23 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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_TestPID_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.851404038257897] Failed to read output from testmodel.py, exit status != 0: 11.350975073873997 11.364869638 11.245702051 Calling exit ...