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.001302/0.001302, allocations: 108.9 kB / 18.84 MB, free: 3.043 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.001865/0.001865, allocations: 214.4 kB / 22.13 MB, free: 5.133 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.489/1.489, allocations: 230.5 MB / 255.8 MB, free: 8.047 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.06478/0.06478, allocations: 11.36 MB / 323.6 MB, free: 8.281 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.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.002162/0.002162, allocations: 67.89 kB / 450.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1531, allocations: 56.06 MB / 0.4949 GB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.004345/0.1574, allocations: 2.156 MB / 0.497 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1592, allocations: 0.6948 MB / 0.4977 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.1595, allocations: 31.69 kB / 0.4977 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1598, allocations: 59.33 kB / 0.4977 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.1601, allocations: 47.55 kB / 0.4978 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009461/0.1611, allocations: 375.3 kB / 0.4981 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1621, allocations: 0.6608 MB / 0.4988 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.1623, allocations: 77.41 kB / 0.4989 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004481/0.1628, allocations: 235.1 kB / 0.4991 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.1632, allocations: 215 kB / 0.4993 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.1633, allocations: 32 kB / 0.4993 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.481e-05/0.1634, allocations: 36 kB / 0.4994 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.1636, allocations: 147.5 kB / 0.4995 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.1639, allocations: 166.9 kB / 0.4997 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.1644, allocations: 441.9 kB / 0.5001 GB, free: 13.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1644, allocations: 0 / 0.5001 GB, free: 13.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1645, allocations: 0 / 0.5001 GB, free: 13.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.1645, allocations: 0 / 0.5001 GB, free: 13.15 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.00174/0.1662, allocations: 0.7465 MB / 0.5008 GB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.1663, allocations: 12.03 kB / 0.5008 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.1664, allocations: 78.72 kB / 0.5009 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.1665, allocations: 60.56 kB / 0.501 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006989/0.1672, allocations: 390.8 kB / 0.5013 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.1673, allocations: 80.97 kB / 0.5014 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1674, allocations: 48.33 kB / 0.5015 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000868/0.1683, allocations: 0.4964 MB / 0.5019 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.1683, allocations: 7.984 kB / 0.5019 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.1684, allocations: 20 kB / 0.502 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.1684, allocations: 15.94 kB / 0.502 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.1692, allocations: 367.6 kB / 0.5023 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/0.1725, allocations: 1.951 MB / 0.5042 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009253/0.1734, allocations: 283.3 kB / 0.5045 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.1737, allocations: 161.3 kB / 0.5047 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.1737, allocations: 8.281 kB / 0.5047 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1737, allocations: 38.78 kB / 0.5047 GB, free: 8.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.1737, allocations: 0 / 0.5047 GB, free: 8.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009193/0.1747, allocations: 446.7 kB / 0.5051 GB, free: 7.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1747, allocations: 59.41 kB / 0.5052 GB, free: 7.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.1753, allocations: 449.8 kB / 0.5056 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.1753, allocations: 29.7 kB / 0.5056 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.1755, allocations: 268.2 kB / 0.5059 GB, free: 6.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.1757, allocations: 138.8 kB / 0.506 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.1758, allocations: 98.12 kB / 0.5061 GB, free: 6.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.176, allocations: 362.7 kB / 0.5065 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.1763, allocations: 133.1 kB / 0.5066 GB, free: 6.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.1767, allocations: 282.9 kB / 0.5069 GB, free: 5.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.1791, allocations: 0.8319 MB / 0.5077 GB, free: 4.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1791, allocations: 4 kB / 0.5077 GB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009595/0.1801, allocations: 0.5441 MB / 0.5082 GB, free: 4.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1801, allocations: 4 kB / 0.5082 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.1801, allocations: 8 kB / 0.5082 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1801, allocations: 4 kB / 0.5082 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/0.1807, allocations: 127.8 kB / 0.5084 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.1807, allocations: 7.938 kB / 0.5084 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.1809, allocations: 59.61 kB / 0.5084 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.181, allocations: 20 kB / 0.5084 GB, free: 4.188 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.0003333/0.1813, allocations: 219.5 kB / 0.5086 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/0.1814, allocations: 51.67 kB / 0.5087 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007916/0.1822, allocations: 405.9 kB / 0.5091 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.1822, allocations: 4 kB / 0.5091 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1822, allocations: 4 kB / 0.5091 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.1822, allocations: 3.984 kB / 0.5091 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005922/0.1828, allocations: 400.3 kB / 0.5095 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1828, allocations: 0 / 0.5095 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.1834, allocations: 99.86 kB / 0.5096 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.1834, allocations: 4 kB / 0.5096 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.1834, allocations: 12 kB / 0.5096 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1835, allocations: 0 / 0.5096 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1835, allocations: 3.938 kB / 0.5096 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.1845, allocations: 0.6329 MB / 0.5102 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.701e-05/0.1846, allocations: 43.66 kB / 0.5102 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.1846, allocations: 15.98 kB / 0.5103 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.1848, allocations: 15.98 kB / 0.5103 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.1849, allocations: 23.89 kB / 0.5103 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1849, allocations: 12 kB / 0.5103 GB, free: 2.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003553/0.1852, allocations: 303.1 kB / 0.5106 GB, free: 1.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1852, allocations: 0 / 0.5106 GB, free: 1.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.1856, allocations: 83.78 kB / 0.5107 GB, free: 1.809 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.001308/0.187, allocations: 1.186 MB / 0.5118 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007378/0.1877, allocations: 355.9 kB / 0.5122 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1877, allocations: 0 / 0.5122 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.188, allocations: 164.7 kB / 0.5123 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1884, allocations: 50.2 kB / 0.5124 GB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.208/0.3963, allocations: 4.255 MB / 0.5165 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.3966, allocations: 265 kB / 0.5168 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.3968, allocations: 88.72 kB / 0.5169 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.397, allocations: 177.2 kB / 0.517 GB, free: 21.49 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.397, allocations: 1.125 kB / 0.517 GB, free: 21.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04098/0.438, allocations: 7.801 MB / 0.5247 GB, free: 20.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.29, allocations: 8.969 kB / 0.5247 GB, free: 20.79 MB / 382.1 MB " [Timeout remaining time 648] (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: 15.0857642859919] Failed to read output from testmodel.py, exit status != 0: 12.399741292989347 12.42628189 12.257323502 Calling exit ...