Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.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.001897/0.001897, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.002056/0.002056, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.07339/0.07339, allocations: 8.626 MB / 268.2 MB, free: 4.961 MB / 250.7 MB " [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: translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.841e-05, allocations: 2.312 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003255/0.003284, allocations: 2.405 MB / 342.6 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.005592, allocations: 1.633 MB / 344.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.005781, allocations: 19.81 kB / 344.2 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006939/0.006475, allocations: 234.8 kB / 344.4 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.006893, allocations: 210.8 kB / 344.6 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000922/0.007815, allocations: 466.7 kB / 345.1 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005808/0.008396, allocations: 0.578 MB / 345.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.008592, allocations: 57.23 kB / 345.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.008938, allocations: 295.2 kB / 346 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.00924, allocations: 211.4 kB / 346.2 MB, free: 2.629 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.009308, allocations: 32 kB / 346.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.009558, allocations: 155.8 kB / 346.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.009686, allocations: 139.5 kB / 346.5 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.00981, allocations: 131.5 kB / 346.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.01035, allocations: 0.5723 MB / 347.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01035, allocations: 4 kB / 347.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01035, allocations: 0 / 347.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.01036, allocations: 0 / 347.2 MB, free: 1.602 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001256/0.01162, allocations: 0.9666 MB / 348.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.01166, allocations: 8.031 kB / 348.2 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.0118, allocations: 88.56 kB / 348.3 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.01236, allocations: 397 kB / 348.7 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.01246, allocations: 80.56 kB / 348.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.01255, allocations: 36.38 kB / 348.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.01334, allocations: 444.8 kB / 349.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.01337, allocations: 4 kB / 349.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.01341, allocations: 15.98 kB / 349.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.01342, allocations: 8 kB / 349.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005236/0.01394, allocations: 236 kB / 349.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.01731, allocations: 2.141 MB / 351.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.01782, allocations: 180.7 kB / 351.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.01805, allocations: 109.6 kB / 351.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.01808, allocations: 7.984 kB / 351.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.01849, allocations: 221.8 kB / 352.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.803e-06/0.01849, allocations: 0 / 352.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009735/0.01947, allocations: 455 kB / 352.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.01954, allocations: 89.03 kB / 352.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.02028, allocations: 0.5806 MB / 353.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.02032, allocations: 33.7 kB / 353.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.02064, allocations: 350.9 kB / 353.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.02076, allocations: 103.2 kB / 353.7 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.02095, allocations: 119.7 kB / 353.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003633/0.02131, allocations: 0.5587 MB / 354.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.02155, allocations: 114.5 kB / 354.5 MB, free: 9.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.02202, allocations: 348.5 kB / 354.9 MB, free: 9.492 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.02295, allocations: 0.5674 MB / 355.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.02296, allocations: 4 kB / 355.4 MB, free: 8.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009369/0.02389, allocations: 0.4924 MB / 355.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-05/0.02396, allocations: 45.69 kB / 356 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.02397, allocations: 4 kB / 356 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.024, allocations: 8 kB / 356 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.02464, allocations: 99.81 kB / 356.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.02465, allocations: 8.438 kB / 356.1 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.0249, allocations: 51.72 kB / 356.1 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.02494, allocations: 24 kB / 356.2 MB, free: 8.066 MB / 282.7 MB Warning: Assuming fixed start value for the following 6 variables: 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: 20 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,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,$whenCondition1,R.TS_in,R_track.satLOW_in,R_track.satHIGH_in,R_track.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * 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.0003475/0.02529, allocations: 257.4 kB / 356.4 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.02539, allocations: 63.61 kB / 356.5 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008631/0.02626, allocations: 413.7 kB / 356.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.02626, allocations: 4 kB / 356.9 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.02627, allocations: 0 / 356.9 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.02628, allocations: 3.984 kB / 356.9 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.02686, allocations: 408.1 kB / 357.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02686, allocations: 0 / 357.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006393/0.0275, allocations: 59.95 kB / 357.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.0275, allocations: 8 kB / 357.4 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.02754, allocations: 8 kB / 357.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.02754, allocations: 0 / 357.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.02755, allocations: 0 / 357.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.02891, allocations: 0.5684 MB / 357.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.02899, allocations: 43.67 kB / 358 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.02906, allocations: 8 kB / 358 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.02921, allocations: 15.98 kB / 358 MB, free: 6.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.0293, allocations: 23.95 kB / 358 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.02934, allocations: 12 kB / 358 MB, free: 6.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004518/0.02979, allocations: 358.8 kB / 358.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02979, allocations: 0 / 358.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004583/0.03025, allocations: 111.7 kB / 358.5 MB, free: 5.629 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.00317/0.03342, allocations: 490.9 kB / 359 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008488/0.03427, allocations: 424 kB / 359.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.03427, allocations: 0 / 359.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.03464, allocations: 229.3 kB / 359.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.03514, allocations: 86.88 kB / 359.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.03678, allocations: 0.8461 MB / 360.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.03711, allocations: 260.5 kB / 360.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.03731, allocations: 67.22 kB / 360.9 MB, free: 3.328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.03741, allocations: 32.5 kB / 360.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.03741, allocations: 0 / 360.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of Templates: time 0.01198/0.04939, allocations: 4.789 MB / 365.7 MB, free: 14.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.729812717065215]