Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.0009887/0.0009887, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009774/0.0009774, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.015/1.015, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.03753/0.03753, allocations: 8.613 MB / 269.6 MB, free: 4.762 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.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 342.1 MB, free: 9.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.854e-05, allocations: 5.125 kB / 342.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.008229/0.008248, allocations: 2.401 MB / 344.5 MB, free: 6.754 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008845/0.01709, allocations: 1.54 MB / 346 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.01733, allocations: 19.81 kB / 346.1 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006045/0.01793, allocations: 226.8 kB / 346.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.01836, allocations: 226.8 kB / 346.5 MB, free: 4.742 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007968/0.01916, allocations: 410.8 kB / 346.9 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.01981, allocations: 0.5504 MB / 347.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.01998, allocations: 65.09 kB / 347.5 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/0.02033, allocations: 275.2 kB / 347.8 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.0206, allocations: 203.4 kB / 348 MB, free: 3.254 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.02064, allocations: 28 kB / 348 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.02089, allocations: 147.8 kB / 348.2 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.02104, allocations: 139.4 kB / 348.3 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.02116, allocations: 123.5 kB / 348.4 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.02167, allocations: 442.4 kB / 348.8 MB, free: 2.391 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.02167, allocations: 0 / 348.8 MB, free: 2.391 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.02167, allocations: 0 / 348.8 MB, free: 2.391 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.02167, allocations: 0 / 348.8 MB, free: 2.391 MB / 314.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.0008039/0.02248, allocations: 0.916 MB / 349.8 MB, free: 1.422 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.02251, allocations: 12.03 kB / 349.8 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.0226, allocations: 88.56 kB / 349.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.02295, allocations: 389.7 kB / 350.2 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.02297, allocations: 29.03 kB / 350.3 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.02301, allocations: 36.38 kB / 350.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.02331, allocations: 357 kB / 350.7 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.02332, allocations: 7.875 kB / 350.7 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.02334, allocations: 16 kB / 350.7 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.02335, allocations: 12 kB / 350.7 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.0235, allocations: 154 kB / 350.8 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.02463, allocations: 1.865 MB / 352.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.02484, allocations: 149.3 kB / 352.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.0249, allocations: 77.36 kB / 352.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.02492, allocations: 4 kB / 352.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.02508, allocations: 186.9 kB / 353.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.02508, allocations: 0 / 353.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.002687/0.02776, allocations: 376.9 kB / 353.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.02781, allocations: 81.11 kB / 353.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.0283, allocations: 490.3 kB / 354 MB, free: 12.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.02833, allocations: 29.7 kB / 354.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.02857, allocations: 342.9 kB / 354.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.02865, allocations: 99.19 kB / 354.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.02878, allocations: 95.25 kB / 354.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.02898, allocations: 0.5429 MB / 355.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.02909, allocations: 62.17 kB / 355.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.02934, allocations: 315.6 kB / 355.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.02981, allocations: 472.1 kB / 356 MB, free: 10.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.02981, allocations: 0 / 356 MB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005913/0.0304, allocations: 420 kB / 356.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.03045, allocations: 41.69 kB / 356.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.03046, allocations: 4 kB / 356.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.03048, allocations: 8 kB / 356.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.03078, allocations: 80.48 kB / 356.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.03079, allocations: 11.94 kB / 356.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.03099, allocations: 47.69 kB / 356.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.03102, allocations: 16 kB / 356.6 MB, free: 10.06 MB / 330.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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_track.ATreq_in,R_track.satHIGH_in,R_track.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 (50): * Single equations (assignments): 49 * 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.0002672/0.03129, allocations: 249.2 kB / 356.8 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.03137, allocations: 59.67 kB / 356.9 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.03188, allocations: 345.7 kB / 357.2 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.03189, allocations: 4 kB / 357.2 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.03189, allocations: 0 / 357.2 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.03189, allocations: 0 / 357.2 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.03222, allocations: 252.9 kB / 357.5 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.03222, allocations: 3.938 kB / 357.5 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.03244, allocations: 47.92 kB / 357.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.03245, allocations: 0 / 357.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.03248, allocations: 15.98 kB / 357.5 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.03248, allocations: 4 kB / 357.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.03248, allocations: 0 / 357.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.03309, allocations: 461.1 kB / 358 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.03315, allocations: 51.58 kB / 358 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.03321, allocations: 12 kB / 358.1 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.03332, allocations: 11.98 kB / 358.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.03338, allocations: 19.97 kB / 358.1 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.03341, allocations: 8 kB / 358.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002456/0.03366, allocations: 298.6 kB / 358.4 MB, free: 8.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.03366, allocations: 4 kB / 358.4 MB, free: 8.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004688/0.03413, allocations: 111.8 kB / 358.5 MB, free: 8.043 MB / 330.7 MB 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,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 (26): * Single equations (assignments): 23 * 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.001226/0.03535, allocations: 442.9 kB / 358.9 MB, free: 7.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.03578, allocations: 315.1 kB / 359.2 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.03578, allocations: 0 / 359.2 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.03597, allocations: 194.1 kB / 359.4 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.03637, allocations: 88.88 kB / 359.5 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.03758, allocations: 0.7876 MB / 360.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.0377, allocations: 133.1 kB / 360.4 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.03787, allocations: 51.25 kB / 360.5 MB, free: 6.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.0381, allocations: 150.2 kB / 360.6 MB, free: 5.941 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.0381, allocations: 0 / 360.6 MB, free: 5.941 MB / 330.7 MB Notification: Performance of Templates: time 0.008421/0.04653, allocations: 5.165 MB / 365.8 MB, free: 0.8203 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1456387252546847]