Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_tracking.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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002114/0.0002114, 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.0001835/0.0001835, 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.1028/0.1028, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.008806/0.008806, 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.Examples.TestPI_tracking,startTime=0,stopTime=200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_tracking",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(IndustrialControlSystems.Controllers.Examples.TestPI_tracking,startTime=0,stopTime=200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_tracking",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.536e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_tracking): time 0.004133/0.004158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004656/0.008814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.00914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0008624/0.01, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0007942/0.0108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.01237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0009314/0.0133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.01353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000673/0.0142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.01462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 8.334e-05/0.0147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.000516/0.01522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.01547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.01569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0009584/0.01665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.207e-05/0.01674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.94e-06/0.01675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.49e-05/0.01676, 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001815/0.01858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001078/0.01868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.01888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008356/0.01971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-05/0.01981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.01991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.02069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.02072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.02079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.0208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/0.02117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.02344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.02383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.02396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.02399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003412/0.02433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=53): time 6.462e-06/0.02434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=53): time 0.0006083/0.02495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.02499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/0.02555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 6.989e-05/0.02562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.0258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.02594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.02613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.847e-05/0.02616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.02631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.0265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.02705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.02706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006569/0.02771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.02776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.02777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.0278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.02845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.02847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.02875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.02881, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 9 variables: processBump.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processBump.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processBump.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.TSsignalBump.combiTimeTable.nextTimeEvent,$whenCondition3,TSsignalBump.combiTimeTable.nextTimeEventScaled,$PRE.TSsignalBump.combiTimeTable.nextTimeEventScaled,TSsignalBump.combiTimeTable.nextTimeEvent,TrackRefBump.nextEventScaled,TrackRefBump.nextEvent,$PRE.TrackRefBump.nextEvent,TrackRefBump.last,TrackRefBump.b,TrackRefBump.a,R_Bump.ts,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition2,$whenCondition1,R.ATreq_in,R.satHIGH_in,R.satLOW_in,R_track.ATreq_in,R_track.satHIGH_in,R_track.satLOW_in,R_Bump.ATreq_in,R_Bump.satHIGH_in,R_Bump.satLOW_in,R.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 2 * 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.0003715/0.02918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.0293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/0.02998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.02998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.02999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.03, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.03047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.03047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005929/0.03106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-06/0.03107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.03113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.03114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.03114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007476/0.03189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.03201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/0.03224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.03242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.03255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.03261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003097/0.03292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.48e-05/0.03294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0008225/0.03377, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.FBout,R_track.FBout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w,R_Bump.FBout,processBump.Y[3],processBump.U[2],processBump.w) * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled,R_Bump.ts,TrackRefBump.a,TrackRefBump.b,TrackRefBump.last,TrackRefBump.nextEvent,TrackRefBump.nextEventScaled,TSsignalBump.combiTimeTable.nextTimeEvent,TSsignalBump.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 16 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TrackRefBump.nextEvent,TrackRefBump.last,TrackRefBump.nextEventScaled,TrackRefBump.b,TrackRefBump.a,$whenCondition2,TSsignalBump.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEvent,TSsignalBump.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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.0008339/0.0346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006149/0.03522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.192e-05/0.03524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.0355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.0361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.03771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.03792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002581/0.03817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.03855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.577e-05/0.03859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004474/0.04306, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.7004562160000205]