Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.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.001279/0.001279, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001476/0.001476, allocations: 187.5 kB / 22.1 MB, free: 4.219 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.487/1.487, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.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.06107/0.06107, allocations: 11.35 MB / 317.4 MB, free: 280 kB / 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.AutoTuning.Examples.Test_ATPIrelayNCdigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 67.89 kB / 442.2 MB, free: 5.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.358, allocations: 54.87 MB / 497.1 MB, free: 24.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital): time 0.005167/0.3632, allocations: 3.273 MB / 0.4886 GB, free: 21.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.3658, allocations: 1.342 MB / 0.4899 GB, free: 20.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004905/0.3663, allocations: 28.41 kB / 0.49 GB, free: 20.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000837/0.3672, allocations: 237.8 kB / 0.4902 GB, free: 20.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005802/0.3677, allocations: 156.5 kB / 0.4903 GB, free: 20.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.3691, allocations: 0.5644 MB / 0.4909 GB, free: 20.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.3709, allocations: 1.252 MB / 0.4921 GB, free: 19.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.3712, allocations: 98.17 kB / 0.4922 GB, free: 19.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008184/0.3721, allocations: 455.8 kB / 0.4926 GB, free: 19.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/0.3728, allocations: 442.9 kB / 0.4931 GB, free: 18.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.3731, allocations: 85.28 kB / 0.4931 GB, free: 18.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.3735, allocations: 142.3 kB / 0.4933 GB, free: 18.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.3738, allocations: 206.7 kB / 0.4935 GB, free: 18.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006217/0.3744, allocations: 0.4928 MB / 0.4939 GB, free: 18.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.3756, allocations: 0.9682 MB / 0.4949 GB, free: 17.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3756, allocations: 4 kB / 0.4949 GB, free: 17.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3757, allocations: 1.469 kB / 0.4949 GB, free: 17.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.552e-05/0.3757, allocations: 3.938 kB / 0.4949 GB, free: 17.48 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002919/0.3786, allocations: 1.279 MB / 0.4962 GB, free: 16.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3787, allocations: 9.719 kB / 0.4962 GB, free: 16.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.3788, allocations: 127.6 kB / 0.4963 GB, free: 16.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000254/0.3791, allocations: 119.6 kB / 0.4964 GB, free: 16.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008954/0.38, allocations: 0.5731 MB / 0.497 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.38, allocations: 65.97 kB / 0.497 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.3802, allocations: 100.4 kB / 0.4971 GB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.3815, allocations: 0.9984 MB / 0.4981 GB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.3816, allocations: 7.109 kB / 0.4981 GB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.3817, allocations: 41.47 kB / 0.4981 GB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.3817, allocations: 12.66 kB / 0.4981 GB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.3827, allocations: 0.6609 MB / 0.4988 GB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.3867, allocations: 2.797 MB / 0.5015 GB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.3879, allocations: 0.6981 MB / 0.5022 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/0.3886, allocations: 0.5957 MB / 0.5028 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.3887, allocations: 11.95 kB / 0.5028 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.3897, allocations: 0.8498 MB / 0.5036 GB, free: 11.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.036e-06/0.3897, allocations: 96 / 0.5036 GB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=86): time 0.003682/0.3934, allocations: 2.177 MB / 0.5058 GB, free: 10.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.3936, allocations: 407.2 kB / 0.5061 GB, free: 9.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000922/0.3945, allocations: 0.6913 MB / 0.5068 GB, free: 9.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.3946, allocations: 57.23 kB / 0.5069 GB, free: 9.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.3948, allocations: 380.5 kB / 0.5072 GB, free: 8.852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.395, allocations: 268.6 kB / 0.5075 GB, free: 8.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.3953, allocations: 235.8 kB / 0.5077 GB, free: 8.488 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9e-05/0.3954, allocations: 346.3 kB / 0.508 GB, free: 8.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.3958, allocations: 249.1 kB / 0.5083 GB, free: 7.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.3964, allocations: 0.8031 MB / 0.5091 GB, free: 6.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.3984, allocations: 1.886 MB / 0.5109 GB, free: 4.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/0.3984, allocations: 8 kB / 0.5109 GB, free: 4.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.00175/0.4001, allocations: 1.46 MB / 0.5123 GB, free: 3.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.4002, allocations: 105.3 kB / 0.5124 GB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.4002, allocations: 23.94 kB / 0.5125 GB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.4002, allocations: 28 kB / 0.5125 GB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.4008, allocations: 239.5 kB / 0.5127 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.377e-05/0.4009, allocations: 39.86 kB / 0.5128 GB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.4014, allocations: 147 kB / 0.5129 GB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.4014, allocations: 68 kB / 0.513 GB, free: 2.559 MB / 366.1 MB Warning: Assuming fixed start value for the following 57 variables: ControllerPm70.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.UP:DISCRETE(fixed = true protected = true ) type: Boolean 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.CSi:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.CSp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.e: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 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.CSi:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.CSp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.e: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 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.CSi:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.CSp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.e:DISCRETE(fixed = true protected = true ) type: Real ProcessPm70.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm70.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessPm70.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm70.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm70.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm60.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm60.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessPm60.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm60.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm60.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm45.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ControllerPm70.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real ControllerPm60.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real ControllerPm45.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real ProcessPm45.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessPm45.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm45.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm45.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 123 ($PRE.ControllerPm70.period,ControllerPm70.period,$PRE.ControllerPm70.UP,ControllerPm70.UP,$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.CSi,ControllerPm70.CSi,$PRE.ControllerPm70.CSp,ControllerPm70.CSp,$PRE.ControllerPm70.e,ControllerPm70.e,$PRE.ControllerPm60.period,ControllerPm60.period,$PRE.ControllerPm60.UP,ControllerPm60.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.CSi,ControllerPm60.CSi,$PRE.ControllerPm60.CSp,ControllerPm60.CSp,$PRE.ControllerPm60.e,ControllerPm60.e,$PRE.ControllerPm45.period,ControllerPm45.period,$PRE.ControllerPm45.UP,ControllerPm45.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.CSi,ControllerPm45.CSi,$PRE.ControllerPm45.CSp,ControllerPm45.CSp,$PRE.ControllerPm45.e,ControllerPm45.e,$PRE.ATpulse.combiTimeTable.nextTimeEvent,$whenCondition7,$PRE.ControllerPm70.CS,$PRE.ControllerPm60.CS,$PRE.ControllerPm45.CS,ControllerPm70.CS,ControllerPm60.CS,ControllerPm45.CS,ControllerPm70.iMode,$PRE.ControllerPm70.iMode,ControllerPm70.TI,$PRE.ControllerPm70.TI,ControllerPm70.K,$PRE.ControllerPm70.K,ControllerPm70.at_req,ControllerPm60.iMode,$PRE.ControllerPm60.iMode,ControllerPm60.TI,$PRE.ControllerPm60.TI,ControllerPm60.K,$PRE.ControllerPm60.K,ATpulse.combiTimeTable.nextTimeEventScaled,$PRE.ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEvent,ControllerPm45.iMode,$PRE.ControllerPm45.iMode,ControllerPm45.TI,$PRE.ControllerPm45.TI,ControllerPm45.K,$PRE.ControllerPm45.K,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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 (178): * Single equations (assignments): 175 * 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.0007905/0.4022, allocations: 0.6235 MB / 0.5136 GB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.4024, allocations: 111.5 kB / 0.5137 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.4048, allocations: 1.942 MB / 0.5156 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4048, allocations: 8 kB / 0.5156 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4048, allocations: 0 / 0.5156 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.4048, allocations: 4 kB / 0.5156 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009149/0.4057, allocations: 0.727 MB / 0.5163 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4057, allocations: 0 / 0.5163 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.4061, allocations: 63.89 kB / 0.5164 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4061, allocations: 0 / 0.5164 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.4062, allocations: 63.91 kB / 0.5164 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4062, allocations: 0 / 0.5164 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4062, allocations: 0 / 0.5164 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.4104, allocations: 2.524 MB / 0.5189 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.4105, allocations: 91.38 kB / 0.519 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.4107, allocations: 63.94 kB / 0.519 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008439/0.4116, allocations: 123.9 kB / 0.5192 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4117, allocations: 31.95 kB / 0.5192 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.4118, allocations: 55.97 kB / 0.5192 GB, free: 11.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005908/0.4124, allocations: 443 kB / 0.5197 GB, free: 11.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4124, allocations: 3.938 kB / 0.5197 GB, free: 11.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001165/0.4135, allocations: 263.8 kB / 0.5199 GB, free: 11.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (ProcessPm45.Y[3],ProcessPm45.Y[4],ProcessPm45.U[2],ProcessPm45.U[3],ProcessPm45.w,ProcessPm60.Y[3],ProcessPm60.Y[4],ProcessPm60.U[2],ProcessPm60.U[3],ProcessPm60.w,ProcessPm70.Y[3],ProcessPm70.Y[4],ProcessPm70.U[2],ProcessPm70.U[3],ProcessPm70.w) * Number of discrete variables: 61 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,ControllerPm45.CS,ControllerPm45.K,ControllerPm45.TI,ControllerPm45.iMode,ControllerPm45.UP,ControllerPm45.lastToggleUp,ControllerPm45.period,ControllerPm45.wox,ControllerPm45.Pox,ControllerPm45.rPVmax,ControllerPm45.rPVmin,ControllerPm45.rCSmax,ControllerPm45.rCSmin,ControllerPm45.e,ControllerPm45.CSp,ControllerPm45.CSi,ControllerPm45.nOx,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,ControllerPm60.CS,ControllerPm60.K,ControllerPm60.TI,ControllerPm60.iMode,ControllerPm60.UP,ControllerPm60.lastToggleUp,ControllerPm60.period,ControllerPm60.wox,ControllerPm60.Pox,ControllerPm60.rPVmax,ControllerPm60.rPVmin,ControllerPm60.rCSmax,ControllerPm60.rCSmin,ControllerPm60.e,ControllerPm60.CSp,ControllerPm60.CSi,ControllerPm60.nOx,ControllerPm70.at_req,ControllerPm70.CS,ControllerPm70.K,ControllerPm70.TI,ControllerPm70.iMode,ControllerPm70.UP,ControllerPm70.lastToggleUp,ControllerPm70.period,ControllerPm70.wox,ControllerPm70.Pox,ControllerPm70.rPVmax,ControllerPm70.rPVmin,ControllerPm70.rCSmax,ControllerPm70.rCSmin,ControllerPm70.e,ControllerPm70.CSp,ControllerPm70.CSi,ControllerPm70.nOx) * Number of discrete states: 59 (ControllerPm45.period,ControllerPm45.UP,ControllerPm45.nOx,ControllerPm45.lastToggleUp,ControllerPm45.rCSmin,ControllerPm45.rCSmax,ControllerPm45.rPVmin,ControllerPm45.rPVmax,ControllerPm45.Pox,ControllerPm45.wox,ControllerPm45.CS,ControllerPm45.CSi,ControllerPm45.CSp,ControllerPm45.e,$whenCondition2,$whenCondition1,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.iMode,ControllerPm60.period,ControllerPm60.UP,ControllerPm60.nOx,ControllerPm60.lastToggleUp,ControllerPm60.rCSmin,ControllerPm60.rCSmax,ControllerPm60.rPVmin,ControllerPm60.rPVmax,ControllerPm60.Pox,ControllerPm60.wox,ControllerPm60.CS,ControllerPm60.CSi,ControllerPm60.CSp,ControllerPm60.e,$whenCondition4,$whenCondition3,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.iMode,ControllerPm70.period,ControllerPm70.UP,ControllerPm70.nOx,ControllerPm70.lastToggleUp,ControllerPm70.rCSmin,ControllerPm70.rCSmax,ControllerPm70.rPVmin,ControllerPm70.rPVmax,ControllerPm70.Pox,ControllerPm70.wox,ControllerPm70.CS,ControllerPm70.CSi,ControllerPm70.CSp,ControllerPm70.e,$whenCondition6,$whenCondition5,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.iMode,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.006508/0.42, allocations: 3.491 MB / 0.5233 GB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.4223, allocations: 1.188 MB / 0.5245 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4223, allocations: 320 / 0.5245 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.4237, allocations: 1.011 MB / 0.5255 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007289/0.4244, allocations: 150.7 kB / 0.5256 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.4369, allocations: 8.363 MB / 0.5338 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/0.4376, allocations: 0.9931 MB / 0.5348 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004368/0.4381, allocations: 166.5 kB / 0.5349 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.4385, allocations: 295.3 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4385, allocations: 0 / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05516/0.4936, allocations: 18.77 MB / 0.5535 GB, free: 8.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.349/9.843, allocations: 8.047 kB / 0.5535 GB, free: 8.207 MB / 414.1 MB " [Timeout remaining time 650] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital_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_ATPIrelayNCdigital.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.682152224995662] Failed to read output from testmodel.py, exit status != 0: 9.984118349995697 10.008770668 9.628239862000001 Calling exit ...