Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.001393/0.001393, allocations: 93.06 kB / 19.65 MB, free: 280 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.001517/0.001517, allocations: 173 kB / 23.02 MB, free: 1.547 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.9931/0.9931, allocations: 177.1 MB / 203.4 MB, free: 5.566 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.03612/0.03612, allocations: 8.611 MB / 268.5 MB, free: 4.922 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.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 3.984 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.539e-05, allocations: 2.312 kB / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.002212/0.002228, allocations: 2.416 MB / 343.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.003823, allocations: 1.635 MB / 344.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.003972, allocations: 23.75 kB / 345 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.0045, allocations: 234.8 kB / 345.2 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.004796, allocations: 218.8 kB / 345.4 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.005326, allocations: 446.8 kB / 345.8 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.005673, allocations: 0.5943 MB / 346.4 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.00579, allocations: 53.23 kB / 346.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.005981, allocations: 303.2 kB / 346.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.00617, allocations: 215.4 kB / 347 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.006212, allocations: 40 kB / 347 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.006372, allocations: 151.8 kB / 347.2 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.00648, allocations: 155.4 kB / 347.3 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.006584, allocations: 135.5 kB / 347.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.00698, allocations: 470.2 kB / 347.9 MB, free: 1.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.006982, allocations: 0 / 347.9 MB, free: 1.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006983, allocations: 0 / 347.9 MB, free: 1.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.006988, allocations: 0 / 347.9 MB, free: 1.316 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0008094/0.007798, allocations: 0.9632 MB / 348.9 MB, free: 312 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.007829, allocations: 8.031 kB / 348.9 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.007921, allocations: 96.5 kB / 349 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.008328, allocations: 421.6 kB / 349.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.008362, allocations: 29.38 kB / 349.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.008412, allocations: 40.33 kB / 349.5 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.00885, allocations: 407.1 kB / 349.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.008871, allocations: 15.88 kB / 349.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.008898, allocations: 16 kB / 349.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.008911, allocations: 8 kB / 349.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.009167, allocations: 201.4 kB / 350.1 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.01067, allocations: 2.063 MB / 352.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.01089, allocations: 179.7 kB / 352.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.01098, allocations: 93.58 kB / 352.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.01101, allocations: 4.234 kB / 352.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.01121, allocations: 211.2 kB / 352.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.01121, allocations: 0 / 352.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004913/0.01171, allocations: 444.8 kB / 353.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.01175, allocations: 81.11 kB / 353.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.01211, allocations: 0.518 MB / 353.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.01213, allocations: 29.7 kB / 353.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.01229, allocations: 343.3 kB / 354 MB, free: 10.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.01236, allocations: 127 kB / 354.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.01246, allocations: 111.8 kB / 354.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.01261, allocations: 0.5391 MB / 354.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.01271, allocations: 90.81 kB / 354.9 MB, free: 9.969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.01292, allocations: 358 kB / 355.2 MB, free: 9.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.01339, allocations: 0.5357 MB / 355.8 MB, free: 8.863 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01339, allocations: 0 / 355.8 MB, free: 8.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004517/0.01384, allocations: 0.4978 MB / 356.3 MB, free: 8.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.01387, allocations: 49.62 kB / 356.3 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01388, allocations: 7.938 kB / 356.3 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.01389, allocations: 8 kB / 356.3 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.01415, allocations: 111.8 kB / 356.4 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.01416, allocations: 11.94 kB / 356.5 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.01427, allocations: 60.02 kB / 356.5 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.01437, allocations: 24 kB / 356.5 MB, free: 8.074 MB / 282.7 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (63): * Single equations (assignments): 62 * 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.0002369/0.0146, allocations: 258 kB / 356.8 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.01469, allocations: 71.62 kB / 356.9 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.01521, allocations: 394.5 kB / 357.2 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.01522, allocations: 4 kB / 357.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01522, allocations: 0 / 357.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01523, allocations: 3.984 kB / 357.3 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.01552, allocations: 348.3 kB / 357.6 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01552, allocations: 0 / 357.6 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.01575, allocations: 75.89 kB / 357.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01576, allocations: 0 / 357.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.01579, allocations: 15.98 kB / 357.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01579, allocations: 3.938 kB / 357.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01579, allocations: 0 / 357.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.01633, allocations: 0.534 MB / 358.2 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.0165, allocations: 51.55 kB / 358.3 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.01655, allocations: 19.98 kB / 358.3 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.01663, allocations: 19.92 kB / 358.3 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.01669, allocations: 27.97 kB / 358.3 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.01671, allocations: 11.98 kB / 358.4 MB, free: 6.145 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.01691, allocations: 322.8 kB / 358.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01691, allocations: 0 / 358.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002617/0.01717, allocations: 131.7 kB / 358.8 MB, free: 5.703 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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 (31): * Single equations (assignments): 28 * 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.0008679/0.01804, allocations: 434.7 kB / 359.2 MB, free: 5.414 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.01841, allocations: 384.5 kB / 359.6 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01841, allocations: 8.062 kB / 359.6 MB, free: 5.004 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.01856, allocations: 200.7 kB / 359.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.01882, allocations: 89.11 kB / 359.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008624/0.01969, allocations: 0.9056 MB / 360.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.578e-05/0.01976, allocations: 149.6 kB / 360.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.01989, allocations: 88.19 kB / 361 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.01996, allocations: 40.5 kB / 361.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01996, allocations: 0 / 361.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of Templates: time 0.007775/0.02774, allocations: 5.431 MB / 366.5 MB, free: 14.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0176161439158022]