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.001332/0.001332, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001449/0.001449, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 8.008 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.06676/0.06676, allocations: 11.34 MB / 323.8 MB, free: 8.215 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.00301/0.00301, allocations: 67.91 kB / 451 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1171, allocations: 56.06 MB / 0.4952 GB, free: 2.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003707/0.1208, allocations: 2.302 MB / 0.4975 GB, free: 8 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.122, allocations: 0.5895 MB / 0.498 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.1222, allocations: 19.81 kB / 0.4981 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.1225, allocations: 71.27 kB / 0.4981 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1226, allocations: 31.61 kB / 0.4982 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.1234, allocations: 315.3 kB / 0.4985 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008289/0.1242, allocations: 0.6257 MB / 0.4991 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.1244, allocations: 73.45 kB / 0.4991 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.1246, allocations: 195.3 kB / 0.4993 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1249, allocations: 199 kB / 0.4995 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.125, allocations: 32 kB / 0.4995 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.244e-05/0.125, allocations: 32 kB / 0.4996 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.1252, allocations: 147.5 kB / 0.4997 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.1254, allocations: 190.8 kB / 0.4999 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.1259, allocations: 417.9 kB / 0.5003 GB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1259, allocations: 0 / 0.5003 GB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1259, allocations: 0 / 0.5003 GB, free: 13.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1259, allocations: 4 kB / 0.5003 GB, free: 13.09 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.00135/0.1273, allocations: 0.696 MB / 0.501 GB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1273, allocations: 8.031 kB / 0.501 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.1274, allocations: 74.72 kB / 0.5011 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.1275, allocations: 64.56 kB / 0.5011 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/0.1282, allocations: 344.6 kB / 0.5015 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.1283, allocations: 29.38 kB / 0.5015 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/0.1284, allocations: 44.38 kB / 0.5015 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/0.1292, allocations: 492.6 kB / 0.502 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.1292, allocations: 11.83 kB / 0.502 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.1293, allocations: 16 kB / 0.502 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1293, allocations: 12 kB / 0.502 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/0.13, allocations: 339.7 kB / 0.5024 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.1333, allocations: 1.901 MB / 0.5042 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.134, allocations: 227.8 kB / 0.5044 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.1343, allocations: 112.8 kB / 0.5045 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.1343, allocations: 11.94 kB / 0.5045 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1343, allocations: 34.56 kB / 0.5046 GB, free: 8.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.1343, allocations: 0 / 0.5046 GB, free: 8.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007901/0.1351, allocations: 373.4 kB / 0.5049 GB, free: 8.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1352, allocations: 55.41 kB / 0.505 GB, free: 8.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.1358, allocations: 433.8 kB / 0.5054 GB, free: 7.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.1358, allocations: 29.7 kB / 0.5054 GB, free: 7.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.1361, allocations: 280.1 kB / 0.5057 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.1363, allocations: 107.1 kB / 0.5058 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.1364, allocations: 94.06 kB / 0.5059 GB, free: 7.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.1366, allocations: 350.8 kB / 0.5062 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.1369, allocations: 112.9 kB / 0.5063 GB, free: 6.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.1373, allocations: 281.4 kB / 0.5066 GB, free: 6.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.1394, allocations: 0.737 MB / 0.5073 GB, free: 5.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1394, allocations: 0 / 0.5073 GB, free: 5.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008771/0.1403, allocations: 0.5007 MB / 0.5078 GB, free: 4.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.1403, allocations: 10.5 kB / 0.5078 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.1403, allocations: 8 kB / 0.5078 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.1403, allocations: 11.94 kB / 0.5078 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.1408, allocations: 115.8 kB / 0.5079 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.1408, allocations: 11.94 kB / 0.508 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.141, allocations: 63.92 kB / 0.508 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.141, allocations: 24 kB / 0.508 GB, free: 4.742 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.0003282/0.1414, allocations: 203.5 kB / 0.5082 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.1414, allocations: 47.66 kB / 0.5083 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.1421, allocations: 337.7 kB / 0.5086 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1421, allocations: 7.938 kB / 0.5086 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1421, allocations: 0 / 0.5086 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1421, allocations: 7.984 kB / 0.5086 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.1426, allocations: 392.3 kB / 0.509 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1426, allocations: 0 / 0.509 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.1431, allocations: 79.89 kB / 0.5091 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1431, allocations: 3.984 kB / 0.5091 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.1431, allocations: 8 kB / 0.5091 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1431, allocations: 3.938 kB / 0.5091 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1431, allocations: 0 / 0.5091 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008434/0.144, allocations: 0.5313 MB / 0.5096 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.144, allocations: 43.64 kB / 0.5096 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.1441, allocations: 12 kB / 0.5097 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.1442, allocations: 15.92 kB / 0.5097 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.1443, allocations: 19.95 kB / 0.5097 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1443, allocations: 12 kB / 0.5097 GB, free: 2.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003333/0.1447, allocations: 287.1 kB / 0.51 GB, free: 2.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1447, allocations: 4 kB / 0.51 GB, free: 2.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.1451, allocations: 83.78 kB / 0.5101 GB, free: 2.598 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.001088/0.1461, allocations: 1.083 MB / 0.5111 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006017/0.1467, allocations: 307.6 kB / 0.5114 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1467, allocations: 1.438 kB / 0.5114 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.147, allocations: 127.8 kB / 0.5115 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1474, allocations: 45.58 kB / 0.5116 GB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2172/0.3645, allocations: 3.99 MB / 0.5155 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.3649, allocations: 0.8546 MB / 0.5163 GB, free: 20.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003564/0.3653, allocations: 88.95 kB / 0.5164 GB, free: 20.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.3655, allocations: 160 kB / 0.5165 GB, free: 20.77 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3655, allocations: 0 / 0.5165 GB, free: 20.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/0.4095, allocations: 7.384 MB / 0.5238 GB, free: 20.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.91, allocations: 14.55 kB / 0.5238 GB, free: 20.09 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: 14.77826566400472] Failed to read output from testmodel.py, exit status != 0: 12.047354957001517 12.062149735 11.933504254 Calling exit ...