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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 104 kB / 16.4 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.09216/0.09216, allocations: 11.2 MB / 308.4 MB, free: 1.949 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 68.77 kB / 426.1 MB, free: 18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09797, allocations: 51.98 MB / 478 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003573/0.1016, allocations: 2.263 MB / 480.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.103, allocations: 0.7142 MB / 481 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.1031, allocations: 19.81 kB / 481 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.1034, allocations: 63.34 kB / 481.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1036, allocations: 47.53 kB / 481.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007128/0.1043, allocations: 355.3 kB / 481.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006633/0.105, allocations: 0.5985 MB / 482.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.1052, allocations: 97.03 kB / 482.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.1055, allocations: 223.2 kB / 482.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1058, allocations: 211 kB / 482.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.1059, allocations: 32 kB / 482.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.024e-05/0.1059, allocations: 36 kB / 482.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.1061, allocations: 143.6 kB / 482.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.1063, allocations: 206.6 kB / 483 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.1068, allocations: 441.9 kB / 483.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.1069, allocations: 4 kB / 483.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1069, allocations: 0 / 483.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1069, allocations: 0 / 483.4 MB, free: 8.527 MB / 350.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.001426/0.1083, allocations: 0.8179 MB / 484.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1084, allocations: 11.89 kB / 484.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1085, allocations: 86.7 kB / 484.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1086, allocations: 60.56 kB / 484.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.1092, allocations: 450.1 kB / 484.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.645e-05/0.1093, allocations: 80.97 kB / 484.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.1094, allocations: 52.33 kB / 485 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.1102, allocations: 0.5042 MB / 485.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.1103, allocations: 7.984 kB / 485.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.1103, allocations: 20 kB / 485.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.1103, allocations: 8 kB / 485.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/0.111, allocations: 367.6 kB / 485.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.1141, allocations: 2.065 MB / 488 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.115, allocations: 290.2 kB / 488.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.1153, allocations: 173.3 kB / 488.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.1153, allocations: 8.266 kB / 488.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1154, allocations: 38.78 kB / 488.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.1154, allocations: 0 / 488.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.000895/0.1163, allocations: 454.7 kB / 488.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1163, allocations: 55.41 kB / 489 MB, free: 2.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/0.1169, allocations: 449.8 kB / 489.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1169, allocations: 37.7 kB / 489.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.1172, allocations: 264.2 kB / 489.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1173, allocations: 134.9 kB / 489.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.1174, allocations: 98.19 kB / 489.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1176, allocations: 370.7 kB / 490.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.1179, allocations: 133 kB / 490.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.1183, allocations: 274.6 kB / 490.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.1206, allocations: 0.8206 MB / 491.5 MB, free: 44 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1206, allocations: 4 kB / 491.5 MB, free: 40 kB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009527/0.1216, allocations: 0.5438 MB / 492 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1216, allocations: 4 kB / 492 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1216, allocations: 4 kB / 492.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1216, allocations: 8 kB / 492.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.1221, allocations: 123.8 kB / 492.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.1222, allocations: 12.44 kB / 492.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.1224, allocations: 63.61 kB / 492.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.1225, allocations: 20 kB / 492.3 MB, free: 15.26 MB / 366.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.0003008/0.1228, allocations: 204.9 kB / 492.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.1229, allocations: 47.72 kB / 492.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007984/0.1237, allocations: 417.4 kB / 492.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1237, allocations: 4 kB / 492.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1237, allocations: 4 kB / 492.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.1237, allocations: 3.984 kB / 492.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.1243, allocations: 469 kB / 493.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1243, allocations: 0 / 493.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.1249, allocations: 95.88 kB / 493.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1249, allocations: 0 / 493.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.1249, allocations: 15.98 kB / 493.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.1249, allocations: 0 / 493.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1249, allocations: 3.938 kB / 493.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1259, allocations: 0.6329 MB / 494.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1261, allocations: 124.7 kB / 494.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.1261, allocations: 16 kB / 494.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1263, allocations: 11.98 kB / 494.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.1264, allocations: 27.95 kB / 494.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1264, allocations: 8 kB / 494.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000339/0.1268, allocations: 311.1 kB / 494.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 494.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003944/0.1272, allocations: 79.84 kB / 494.7 MB, free: 12.72 MB / 366.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.001297/0.1285, allocations: 1.181 MB / 495.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007276/0.1292, allocations: 372.5 kB / 496.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1292, allocations: 4 kB / 496.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.1295, allocations: 176.2 kB / 496.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1299, allocations: 48.05 kB / 496.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005775/0.1357, allocations: 4.26 MB / 0.489 GB, free: 6.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/0.1364, allocations: 0.8702 MB / 0.4899 GB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.1367, allocations: 92.14 kB / 0.4899 GB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.137, allocations: 179.4 kB / 0.4901 GB, free: 5.309 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.137, allocations: 0 / 0.4901 GB, free: 5.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.1694, allocations: 7.673 MB / 0.4976 GB, free: 13.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.571, allocations: 4.688 kB / 0.4976 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.15580584295094] Failed to read output from testmodel.py, exit status != 0: 8.641203109058551 8.659582259 8.549564451 Calling exit ...