Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00036/0.00036, allocations: 0 / 0, free: 0 / 0 " [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.0004861/0.0004861, allocations: 0 / 0, free: 0 / 0 " [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 0.4256/0.4256, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.02077/0.02077, allocations: 0 / 0, free: 0 / 0 " [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: simulate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID,startTime=0,stopTime=340,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID",simflags="-alarm=480 -lv LOG_STATS") simulate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID,startTime=0,stopTime=340,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID",simflags="-alarm=480 -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 6.81e-07/6.81e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.277e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID): time 0.007736/0.007759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.008277/0.01604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0007619/0.0168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.00268/0.01948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002424/0.0219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.02516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002187/0.02735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.02783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.02966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.03094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.03118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.03263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0005392/0.03317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0008713/0.03404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003326/0.03737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002152/0.03759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.284e-06/0.03759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.792e-05/0.03761, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.005802/0.04341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001154/0.04352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008536/0.04438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.04731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.04745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.04771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/0.05113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/0.05118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.05137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.0514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.05403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0078/0.06183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.06427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.06576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.0658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/0.06811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=65): time 8.645e-05/0.0682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=65): time 0.007296/0.07549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/0.07572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003649/0.07936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002414/0.07961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0008303/0.08044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.08081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007256/0.08153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004497/0.08198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.08328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.08497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.004584/0.08955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-05/0.08958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=98) (initialization): time 0.005232/0.09481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.09497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.09499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.923e-05/0.09504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.09615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.137e-05/0.0962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008778/0.09708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.09729, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 19 variables: Controller.satLOW:DISCRETE(flow=false fixed = true ) \"The CS signal saturated at CSmin\" type: Boolean Controller.satHI:DISCRETE(flow=false fixed = true ) \"The CS signal saturated at CSmax\" type: Boolean Controller.cs:DISCRETE(fixed = true protected = true ) type: Real Controller.dcs:DISCRETE(fixed = true protected = true ) type: Real Controller.dd:DISCRETE(fixed = true protected = true ) type: Real Controller.d:DISCRETE(fixed = true protected = true ) type: Real Controller.di:DISCRETE(fixed = true protected = true ) type: Real Controller.dp:DISCRETE(fixed = true protected = true ) type: Real Controller.dpv:DISCRETE(fixed = true protected = true ) type: Real Controller.dsp:DISCRETE(fixed = true protected = true ) type: Real Controller.pv:DISCRETE(fixed = true protected = true ) type: Real Controller.sp:DISCRETE(fixed = true protected = true ) type: Real Process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real Process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] Process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Controller.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real ProcessNoControl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessNoControl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessNoControl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.Controller.satLOW,Controller.satLOW,$PRE.Controller.satHI,Controller.satHI,$PRE.Controller.cs,Controller.cs,$PRE.Controller.dcs,Controller.dcs,$PRE.Controller.dd,Controller.dd,$PRE.Controller.d,Controller.d,$PRE.Controller.di,Controller.di,$PRE.Controller.dp,Controller.dp,$PRE.Controller.dpv,Controller.dpv,$PRE.Controller.dsp,Controller.dsp,$PRE.Controller.pv,Controller.pv,$PRE.Controller.sp,Controller.sp,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition7,$PRE.ForbinINC.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.ForbinDEC.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.man.combiTimeTable.nextTimeEvent,$whenCondition4,man.combiTimeTable.nextTimeEventScaled,$PRE.man.combiTimeTable.nextTimeEventScaled,man.combiTimeTable.nextTimeEvent,Controller.man,ForbinDEC.combiTimeTable.nextTimeEventScaled,$PRE.ForbinDEC.combiTimeTable.nextTimeEventScaled,ForbinDEC.combiTimeTable.nextTimeEvent,Controller.F_dec,ForbinINC.combiTimeTable.nextTimeEventScaled,$PRE.ForbinINC.combiTimeTable.nextTimeEventScaled,ForbinINC.combiTimeTable.nextTimeEvent,Controller.F_inc,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,Controller.ts,$PRE.Controller.CS,Controller.CS,deltaCS.nextEventScaled,deltaCS.nextEvent,$PRE.deltaCS.nextEvent,deltaCS.last,deltaCS.b,deltaCS.a,$whenCondition3,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * 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.001811/0.0991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007586/0.09986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006545/0.1064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.1064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.1064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.1064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.1089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.1089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006535/0.1096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.1096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/0.1099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.1099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008638/0.1185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0008152/0.1194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006406/0.12, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/0.1208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005625/0.1213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/0.1216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.002566/0.1242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.797e-05/0.1242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002343/0.1266, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Process.Y[3],Process.U[2],Process.w,ProcessNoControl.Y[3],ProcessNoControl.U[2],ProcessNoControl.w) * Number of discrete variables: 42 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,Controller.ts,Controller.man,Controller.F_inc,Controller.F_dec,Controller.CS,Controller.satHI,Controller.satLOW,Controller.sp,Controller.dsp,Controller.pv,Controller.dpv,Controller.dp,Controller.di,Controller.d,Controller.dd,Controller.cs,Controller.dcs,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled,ForbinINC.combiTimeTable.nextTimeEvent,ForbinINC.combiTimeTable.nextTimeEventScaled,ForbinDEC.combiTimeTable.nextTimeEvent,ForbinDEC.combiTimeTable.nextTimeEventScaled,man.combiTimeTable.nextTimeEvent,man.combiTimeTable.nextTimeEventScaled,deltaCS.a,deltaCS.b,deltaCS.last,deltaCS.nextEvent,deltaCS.nextEventScaled) * Number of discrete states: 35 (Controller.CS,Controller.satLOW,Controller.satHI,Controller.cs,Controller.dcs,Controller.dd,Controller.d,Controller.di,Controller.dp,Controller.dpv,Controller.dsp,Controller.pv,Controller.sp,$whenCondition1,Controller.bias,TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition2,deltaCS.nextEvent,deltaCS.last,deltaCS.nextEventScaled,deltaCS.b,deltaCS.a,$whenCondition3,man.combiTimeTable.nextTimeEvent,ForbinDEC.combiTimeTable.nextTimeEvent,ForbinINC.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEvent,man.combiTimeTable.nextTimeEventScaled,ForbinDEC.combiTimeTable.nextTimeEventScaled,ForbinINC.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * 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.001596/0.1282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004005/0.1322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.1322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002248/0.1344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/0.1375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007765/0.1453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.1467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0007364/0.1474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.1485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005144/0.149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004359/0.1534, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1140] [Calling sys.exit(0), Time elapsed: 1.7096840699996392]