Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.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.00205/0.00205, allocations: 110.1 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.002377/0.002377, allocations: 208.9 kB / 22.12 MB, free: 5.137 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.474/1.474, allocations: 230.5 MB / 255.8 MB, free: 8.055 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.07474/0.07474, allocations: 11.36 MB / 323.5 MB, free: 8.254 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.AutoTuning.Examples.Test_ATPIrelayNCmixedMode,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode",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.00203/0.00203, allocations: 71.83 kB / 450.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1075, allocations: 56.07 MB / 0.4949 GB, free: 2.434 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode): time 0.005015/0.1126, allocations: 3.342 MB / 0.4981 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.1153, allocations: 1.475 MB / 0.4996 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.1155, allocations: 27.69 kB / 0.4996 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007574/0.1163, allocations: 246.5 kB / 0.4998 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.1168, allocations: 198.8 kB / 0.5 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1179, allocations: 0.5552 MB / 0.5006 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.1194, allocations: 1.27 MB / 0.5018 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.1196, allocations: 117.8 kB / 0.5019 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.1203, allocations: 470.5 kB / 0.5024 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005995/0.1209, allocations: 462 kB / 0.5028 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.121, allocations: 88 kB / 0.5029 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.1213, allocations: 144 kB / 0.503 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.1215, allocations: 227.2 kB / 0.5033 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004919/0.122, allocations: 494 kB / 0.5037 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1232, allocations: 1.031 MB / 0.5047 GB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1232, allocations: 0 / 0.5047 GB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1232, allocations: 0 / 0.5047 GB, free: 8.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.1232, allocations: 0 / 0.5047 GB, free: 8.277 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002471/0.1257, allocations: 1.525 MB / 0.5062 GB, free: 6.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1257, allocations: 12.03 kB / 0.5062 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.1259, allocations: 134.7 kB / 0.5064 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.1261, allocations: 128.2 kB / 0.5065 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009946/0.1271, allocations: 0.5693 MB / 0.507 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.1273, allocations: 223.7 kB / 0.5073 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.1274, allocations: 103.9 kB / 0.5074 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.1293, allocations: 1.177 MB / 0.5085 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.1293, allocations: 11.94 kB / 0.5085 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.663e-05/0.1294, allocations: 43.98 kB / 0.5086 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1294, allocations: 16 kB / 0.5086 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.1308, allocations: 0.8329 MB / 0.5094 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/0.1351, allocations: 2.784 MB / 0.5121 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2257/0.3608, allocations: 0.6426 MB / 0.5127 GB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008276/0.3616, allocations: 0.5458 MB / 0.5133 GB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.3616, allocations: 2.938 kB / 0.5133 GB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.3628, allocations: 1.326 MB / 0.5146 GB, free: 22.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.645e-06/0.3628, allocations: 2.031 kB / 0.5146 GB, free: 22.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=101): time 0.00315/0.366, allocations: 2.485 MB / 0.517 GB, free: 22.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.3661, allocations: 0.5668 MB / 0.5175 GB, free: 21.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/0.3668, allocations: 0.6913 MB / 0.5182 GB, free: 21.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.3669, allocations: 65.14 kB / 0.5183 GB, free: 21.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.3671, allocations: 389.5 kB / 0.5187 GB, free: 21.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.3673, allocations: 309.7 kB / 0.5189 GB, free: 21.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.3675, allocations: 250 kB / 0.5192 GB, free: 21.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.3676, allocations: 357 kB / 0.5195 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.3681, allocations: 391.9 kB / 0.5199 GB, free: 20.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00072/0.3689, allocations: 0.9339 MB / 0.5208 GB, free: 20.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/0.372, allocations: 2.257 MB / 0.523 GB, free: 18.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.106e-05/0.372, allocations: 8.094 kB / 0.523 GB, free: 18.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.002681/0.3747, allocations: 1.681 MB / 0.5247 GB, free: 17.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.483e-05/0.3748, allocations: 108.6 kB / 0.5248 GB, free: 17.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.3748, allocations: 15.22 kB / 0.5248 GB, free: 17.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.072e-05/0.3748, allocations: 23.19 kB / 0.5248 GB, free: 17.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/0.3756, allocations: 254.3 kB / 0.525 GB, free: 17.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.929e-05/0.3757, allocations: 34.39 kB / 0.5251 GB, free: 17.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.3762, allocations: 146.1 kB / 0.5252 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.401e-05/0.3763, allocations: 74.16 kB / 0.5253 GB, free: 17.66 MB / 382.1 MB Warning: Assuming fixed start value for the following 54 variables: ControllerPm70.nOx:DISCRETE(fixed = true protected = true ) type: Integer ControllerPm70.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.Pox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.wox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.UP:DISCRETE(fixed = true protected = true ) type: Boolean ControllerPm60.nOx:DISCRETE(fixed = true protected = true ) type: Integer ControllerPm60.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.Pox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.wox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.UP:DISCRETE(fixed = true protected = true ) type: Boolean ControllerPm45.nOx:DISCRETE(fixed = true protected = true ) type: Integer ControllerPm45.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.Pox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.wox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.UP:DISCRETE(fixed = true protected = true ) type: Boolean ProcessPm70.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm60.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm45.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ControllerPm70.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real ControllerPm60.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real ControllerPm45.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real ControllerPm45.iMode:DISCRETE(fixed = true ) type: Integer ControllerPm45.CSat:DISCRETE(fixed = true protected = true ) type: Real ProcessPm45.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm45.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm45.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm45.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ControllerPm60.iMode:DISCRETE(fixed = true ) type: Integer ControllerPm60.CSat:DISCRETE(fixed = true protected = true ) type: Real ProcessPm60.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm60.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm60.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm60.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ControllerPm70.iMode:DISCRETE(fixed = true ) type: Integer ControllerPm70.CSat:DISCRETE(fixed = true protected = true ) type: Real ProcessPm70.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm70.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm70.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm70.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 120 ($PRE.ControllerPm70.nOx,ControllerPm70.nOx,$PRE.ControllerPm70.lastToggleUp,ControllerPm70.lastToggleUp,$PRE.ControllerPm70.rCSmin,ControllerPm70.rCSmin,$PRE.ControllerPm70.rCSmax,ControllerPm70.rCSmax,$PRE.ControllerPm70.rPVmin,ControllerPm70.rPVmin,$PRE.ControllerPm70.rPVmax,ControllerPm70.rPVmax,$PRE.ControllerPm70.Pox,ControllerPm70.Pox,$PRE.ControllerPm70.wox,ControllerPm70.wox,$PRE.ControllerPm70.period,ControllerPm70.period,$PRE.ControllerPm70.UP,ControllerPm70.UP,$PRE.ControllerPm60.nOx,ControllerPm60.nOx,$PRE.ControllerPm60.lastToggleUp,ControllerPm60.lastToggleUp,$PRE.ControllerPm60.rCSmin,ControllerPm60.rCSmin,$PRE.ControllerPm60.rCSmax,ControllerPm60.rCSmax,$PRE.ControllerPm60.rPVmin,ControllerPm60.rPVmin,$PRE.ControllerPm60.rPVmax,ControllerPm60.rPVmax,$PRE.ControllerPm60.Pox,ControllerPm60.Pox,$PRE.ControllerPm60.wox,ControllerPm60.wox,$PRE.ControllerPm60.period,ControllerPm60.period,$PRE.ControllerPm60.UP,ControllerPm60.UP,$PRE.ControllerPm45.nOx,ControllerPm45.nOx,$PRE.ControllerPm45.lastToggleUp,ControllerPm45.lastToggleUp,$PRE.ControllerPm45.rCSmin,ControllerPm45.rCSmin,$PRE.ControllerPm45.rCSmax,ControllerPm45.rCSmax,$PRE.ControllerPm45.rPVmin,ControllerPm45.rPVmin,$PRE.ControllerPm45.rPVmax,ControllerPm45.rPVmax,$PRE.ControllerPm45.Pox,ControllerPm45.Pox,$PRE.ControllerPm45.wox,ControllerPm45.wox,$PRE.ControllerPm45.period,ControllerPm45.period,$PRE.ControllerPm45.UP,ControllerPm45.UP,$PRE.ATpulse.combiTimeTable.nextTimeEvent,$whenCondition13,$PRE.ControllerPm45.iMode,$PRE.ControllerPm45.K,$PRE.ControllerPm45.TI,$PRE.ControllerPm45.CSat,$PRE.ControllerPm45.AT,$PRE.ControllerPm60.iMode,$PRE.ControllerPm60.K,$PRE.ControllerPm60.TI,$PRE.ControllerPm60.CSat,$PRE.ControllerPm60.AT,$PRE.ControllerPm70.iMode,$PRE.ControllerPm70.K,$PRE.ControllerPm70.TI,$PRE.ControllerPm70.CSat,$PRE.ControllerPm70.AT,ControllerPm45.iMode,ControllerPm45.K,ControllerPm45.TI,ControllerPm45.CSat,ControllerPm45.AT,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,$PRE.ATpulse.combiTimeTable.nextTimeEventScaled,ControllerPm60.iMode,ControllerPm60.K,ControllerPm60.TI,ControllerPm60.CSat,ControllerPm60.AT,ControllerPm70.at_req,ControllerPm70.iMode,ControllerPm70.K,ControllerPm70.TI,ControllerPm70.CSat,ControllerPm70.AT,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition14,$whenCondition15,$whenCondition16,ControllerPm70.TS_in,ControllerPm60.TS_in,ControllerPm45.TS_in,ControllerPm70.satLOW_in,ControllerPm70.satHIGH_in,ControllerPm60.satLOW_in,ControllerPm60.satHIGH_in,ControllerPm45.satLOW_in,ControllerPm45.satHIGH_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 3 * 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.0009246/0.3772, allocations: 0.608 MB / 0.5259 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.3774, allocations: 120.2 kB / 0.526 GB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.3802, allocations: 2.108 MB / 0.5281 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3802, allocations: 4.312 kB / 0.5281 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3803, allocations: 0.9375 kB / 0.5281 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3803, allocations: 5.391 kB / 0.5281 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/0.3844, allocations: 2.926 MB / 0.5309 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3844, allocations: 0 / 0.5309 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.3849, allocations: 99.36 kB / 0.531 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3849, allocations: 5.344 kB / 0.531 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.385, allocations: 57.53 kB / 0.5311 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.3851, allocations: 8.516 kB / 0.5311 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3851, allocations: 0 / 0.5311 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/0.3895, allocations: 2.986 MB / 0.534 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.3897, allocations: 91.52 kB / 0.5341 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.39, allocations: 64.88 kB / 0.5342 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000875/0.3909, allocations: 124.5 kB / 0.5343 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.3911, allocations: 69.7 kB / 0.5343 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.3912, allocations: 65.17 kB / 0.5344 GB, free: 13.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006752/0.3919, allocations: 451.3 kB / 0.5348 GB, free: 13.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3919, allocations: 0 / 0.5348 GB, free: 13.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001346/0.3933, allocations: 276 kB / 0.5351 GB, free: 13.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (ProcessPm70.w,ProcessPm70.U[3],ProcessPm70.U[2],ProcessPm70.Y[4],ProcessPm70.Y[3],ControllerPm70.linFBout,ProcessPm60.w,ProcessPm60.U[3],ProcessPm60.U[2],ProcessPm60.Y[4],ProcessPm60.Y[3],ControllerPm60.linFBout,ProcessPm45.w,ProcessPm45.U[3],ProcessPm45.U[2],ProcessPm45.Y[4],ProcessPm45.Y[3],ControllerPm45.linFBout) * Number of discrete variables: 64 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,ControllerPm70.nOx,ControllerPm70.Pox,ControllerPm70.wox,ControllerPm70.period,ControllerPm70.lastToggleUp,ControllerPm70.rCSmin,ControllerPm70.rCSmax,ControllerPm70.rPVmin,ControllerPm70.rPVmax,ControllerPm70.UP,ControllerPm70.AT,ControllerPm70.CSat,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.iMode,ControllerPm70.at_req,ControllerPm60.nOx,ControllerPm60.Pox,ControllerPm60.wox,ControllerPm60.period,ControllerPm60.lastToggleUp,ControllerPm60.rCSmin,ControllerPm60.rCSmax,ControllerPm60.rPVmin,ControllerPm60.rPVmax,ControllerPm60.UP,ControllerPm60.AT,ControllerPm60.CSat,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.iMode,ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEvent,ControllerPm45.nOx,ControllerPm45.Pox,ControllerPm45.wox,ControllerPm45.period,ControllerPm45.lastToggleUp,ControllerPm45.rCSmin,ControllerPm45.rCSmax,ControllerPm45.rPVmin,ControllerPm45.rPVmax,ControllerPm45.UP,ControllerPm45.AT,ControllerPm45.CSat,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.iMode) * Number of discrete states: 65 (ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,$whenCondition12,$whenCondition11,ControllerPm70.nOx,ControllerPm70.lastToggleUp,ControllerPm70.rCSmin,ControllerPm70.rCSmax,ControllerPm70.rPVmin,ControllerPm70.rPVmax,ControllerPm70.Pox,ControllerPm70.wox,ControllerPm70.period,ControllerPm70.UP,ControllerPm70.CSat,$whenCondition10,ControllerPm70.iMode,$whenCondition9,ControllerPm70.AT,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.CSpi,ControllerPm70.PV,$whenCondition8,$whenCondition7,ControllerPm60.nOx,ControllerPm60.lastToggleUp,ControllerPm60.rCSmin,ControllerPm60.rCSmax,ControllerPm60.rPVmin,ControllerPm60.rPVmax,ControllerPm60.Pox,ControllerPm60.wox,ControllerPm60.period,ControllerPm60.UP,ControllerPm60.CSat,$whenCondition6,ControllerPm60.iMode,$whenCondition5,ControllerPm60.AT,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.CSpi,ControllerPm60.PV,$whenCondition4,$whenCondition3,ControllerPm45.nOx,ControllerPm45.lastToggleUp,ControllerPm45.rCSmin,ControllerPm45.rCSmax,ControllerPm45.rPVmin,ControllerPm45.rPVmax,ControllerPm45.Pox,ControllerPm45.wox,ControllerPm45.period,ControllerPm45.UP,ControllerPm45.CSat,$whenCondition2,ControllerPm45.iMode,$whenCondition1,ControllerPm45.AT,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.CSpi,ControllerPm45.PV) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.005936/0.3992, allocations: 3.96 MB / 0.539 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.4017, allocations: 1.537 MB / 0.5405 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4017, allocations: 0.7031 kB / 0.5405 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.4029, allocations: 0.8995 MB / 0.5413 GB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008521/0.4038, allocations: 177.5 kB / 0.5415 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.4139, allocations: 9.254 MB / 0.5505 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4142, allocations: 419.9 kB / 0.5509 GB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003665/0.4146, allocations: 167.2 kB / 0.5511 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.4149, allocations: 319.3 kB / 0.5514 GB, free: 2.113 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4149, allocations: 0 / 0.5514 GB, free: 2.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05478/0.4697, allocations: 19.52 MB / 0.5705 GB, free: 14.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.42, allocations: 6.516 kB / 0.5705 GB, free: 14.68 MB / 414.1 MB " [Timeout remaining time 646] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode_res.csv --start-time 0 --stop-time 240 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.096 IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.403455141931772] Failed to read output from testmodel.py, exit status != 0: 13.588102746289223 13.603783878 13.477451795 Calling exit ...