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.0009774/0.0009774, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009872/0.0009872, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9911/0.9911, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [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.03779/0.03779, allocations: 8.612 MB / 268.9 MB, free: 5 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 2.164e-06/2.164e-06, allocations: 0 / 340.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.136e-05, allocations: 2.312 kB / 340.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.00388/0.003912, allocations: 2.443 MB / 343.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.006478, allocations: 1.633 MB / 345 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.006712, allocations: 23.75 kB / 345 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.007304, allocations: 234.8 kB / 345.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.007657, allocations: 210.9 kB / 345.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.008376, allocations: 458.7 kB / 345.9 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004887/0.008865, allocations: 0.5818 MB / 346.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.009012, allocations: 61.23 kB / 346.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.009276, allocations: 295.2 kB / 346.8 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.009503, allocations: 203.4 kB / 347 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.009558, allocations: 32 kB / 347 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.009757, allocations: 163.8 kB / 347.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.009863, allocations: 139.4 kB / 347.3 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.945e-05/0.009962, allocations: 131.6 kB / 347.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.0104, allocations: 450.3 kB / 347.9 MB, free: 1.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.0104, allocations: 0 / 347.9 MB, free: 1.684 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.01041, allocations: 4 kB / 347.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.01042, allocations: 3.984 kB / 347.9 MB, free: 1.676 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.0008885/0.0113, allocations: 0.9357 MB / 348.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.01134, allocations: 8.031 kB / 348.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.01144, allocations: 92.56 kB / 348.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.01184, allocations: 413.6 kB / 349.3 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.0119, allocations: 80.62 kB / 349.4 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.01194, allocations: 36.38 kB / 349.4 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.0124, allocations: 396.8 kB / 349.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01241, allocations: 0 / 349.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.01244, allocations: 16 kB / 349.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.01245, allocations: 8 kB / 349.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.01271, allocations: 189.4 kB / 350 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.01446, allocations: 2.032 MB / 352.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.01478, allocations: 148.8 kB / 352.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.01489, allocations: 89.48 kB / 352.3 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.01491, allocations: 4 kB / 352.3 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.01517, allocations: 206.8 kB / 352.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.996e-06/0.01517, allocations: 4 kB / 352.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005617/0.01573, allocations: 395 kB / 352.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.01579, allocations: 93.09 kB / 353 MB, free: 12.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.01618, allocations: 498.5 kB / 353.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.01621, allocations: 37.69 kB / 353.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.01638, allocations: 330.9 kB / 353.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.01645, allocations: 95.27 kB / 353.9 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.01655, allocations: 91.72 kB / 354 MB, free: 11.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.01672, allocations: 0.5352 MB / 354.6 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.01687, allocations: 86.53 kB / 354.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.01708, allocations: 324.5 kB / 355 MB, free: 10.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.01749, allocations: 493.1 kB / 355.4 MB, free: 9.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.0175, allocations: 0 / 355.4 MB, free: 9.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004854/0.01798, allocations: 460 kB / 355.9 MB, free: 9.066 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.01802, allocations: 37.69 kB / 355.9 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.01802, allocations: 4 kB / 355.9 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.01804, allocations: 8 kB / 355.9 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.01851, allocations: 108.4 kB / 356 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.01852, allocations: 8 kB / 356.1 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.01868, allocations: 51.66 kB / 356.1 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.0187, allocations: 16 kB / 356.1 MB, free: 8.832 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.0002525/0.01895, allocations: 245.3 kB / 356.4 MB, free: 8.578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.01903, allocations: 67.61 kB / 356.4 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.01956, allocations: 365.8 kB / 356.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.01956, allocations: 7.938 kB / 356.8 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.01957, allocations: 0 / 356.8 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.01957, allocations: 0 / 356.8 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.01993, allocations: 340.2 kB / 357.1 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01993, allocations: 0 / 357.1 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.02027, allocations: 63.95 kB / 357.2 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.02028, allocations: 4 kB / 357.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.02034, allocations: 19.92 kB / 357.2 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.02034, allocations: 0 / 357.2 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.02034, allocations: 0 / 357.2 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.02097, allocations: 490.9 kB / 357.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.02104, allocations: 47.59 kB / 357.7 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.0211, allocations: 16 kB / 357.7 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.02119, allocations: 15.98 kB / 357.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.02131, allocations: 15.97 kB / 357.8 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.02135, allocations: 19.98 kB / 357.8 MB, free: 7.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002598/0.02161, allocations: 306.8 kB / 358.1 MB, free: 6.746 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02161, allocations: 0 / 358.1 MB, free: 6.746 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004363/0.02204, allocations: 115.8 kB / 358.2 MB, free: 6.633 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.00134/0.02338, allocations: 447 kB / 358.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004682/0.02385, allocations: 348.2 kB / 359 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02385, allocations: 4.062 kB / 359 MB, free: 5.961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.02402, allocations: 196.7 kB / 359.2 MB, free: 5.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.02436, allocations: 93.98 kB / 359.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.02542, allocations: 0.8108 MB / 360.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.981e-05/0.02551, allocations: 133.2 kB / 360.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.02564, allocations: 67.23 kB / 360.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.02571, allocations: 36.5 kB / 360.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of SimCode: time 1.513e-06/0.02572, allocations: 0 / 360.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of Templates: time 0.00924/0.03496, allocations: 4.794 MB / 365.1 MB, free: 15.8 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: 2.989369594026357]